1 /* 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 */ 15 struct sandbox_irq_priv { 16 int count; 17 bool pending; 18 }; 19 20 #endif /* __SANDBOX_IRQ_H */ 21