mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 20:13:39 +00:00
21 lines
403 B
C
21 lines
403 B
C
|
/* 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 */
|