summaryrefslogtreecommitdiff
path: root/drivers/misc/pvpanic/pvpanic.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/pvpanic/pvpanic.h')
-rw-r--r--drivers/misc/pvpanic/pvpanic.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/misc/pvpanic/pvpanic.h b/drivers/misc/pvpanic/pvpanic.h
index 493545951754..a42fa760eed5 100644
--- a/drivers/misc/pvpanic/pvpanic.h
+++ b/drivers/misc/pvpanic/pvpanic.h
@@ -8,13 +8,12 @@
#ifndef PVPANIC_H_
#define PVPANIC_H_
-struct pvpanic_instance {
- void __iomem *base;
- unsigned int capability;
- unsigned int events;
- struct list_head list;
-};
+#include <linux/compiler_types.h>
-int devm_pvpanic_probe(struct device *dev, struct pvpanic_instance *pi);
+struct attribute_group;
+struct device;
+
+int devm_pvpanic_probe(struct device *dev, void __iomem *base);
+extern const struct attribute_group *pvpanic_dev_groups[];
#endif /* PVPANIC_H_ */