xref: /openbmc/linux/drivers/misc/pvpanic/pvpanic.h (revision 3cf3cdea)
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  *  Pvpanic Device Support
4  *
5  *  Copyright (C) 2021 Oracle.
6  */
7 
8 #ifndef PVPANIC_H_
9 #define PVPANIC_H_
10 
11 struct pvpanic_instance {
12 	void __iomem *base;
13 	unsigned int capability;
14 	unsigned int events;
15 	struct list_head list;
16 };
17 
18 int devm_pvpanic_probe(struct device *dev, struct pvpanic_instance *pi);
19 
20 #endif /* PVPANIC_H_ */
21