~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: f73fec74f5c94e66f27b34cfba2d05fbff7e42bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright 2021 Google LLC
 */

#ifndef __SANDBOX_IRQ_H
#define __SANDBOX_IRQ_H

/**
 * struct sandbox_irq_priv - private data for this driver
 *
 * @count: Counts the number calls to the read_and_clear() method
 * @pending: true if an interrupt is pending, else false
 */
struct sandbox_irq_priv {
	int count;
	bool pending;
};

#endif /* __SANDBOX_IRQ_H */