blob: f73fec74f5c94e66f27b34cfba2d05fbff7e42bc [file] [log] [blame]
Simon Glasse7995f72021-08-07 07:24:11 -06001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright 2021 Google LLC
4 */
5
6#ifndef __SANDBOX_IRQ_H
7#define __SANDBOX_IRQ_H
8
9/**
10 * struct sandbox_irq_priv - private data for this driver
11 *
12 * @count: Counts the number calls to the read_and_clear() method
13 * @pending: true if an interrupt is pending, else false
14 */
15struct sandbox_irq_priv {
16 int count;
17 bool pending;
18};
19
20#endif /* __SANDBOX_IRQ_H */