summaryrefslogtreecommitdiffstats
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.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/misc/pvpanic/pvpanic.h b/drivers/misc/pvpanic/pvpanic.h
index 4935459517..46ffb10438 100644
--- a/drivers/misc/pvpanic/pvpanic.h
+++ b/drivers/misc/pvpanic/pvpanic.h
@@ -8,13 +8,7 @@
#ifndef PVPANIC_H_
#define PVPANIC_H_
-struct pvpanic_instance {
- void __iomem *base;
- unsigned int capability;
- unsigned int events;
- struct list_head list;
-};
-
-int devm_pvpanic_probe(struct device *dev, struct pvpanic_instance *pi);
+int devm_pvpanic_probe(struct device *dev, void __iomem *base);
+extern const struct attribute_group *pvpanic_dev_groups[];
#endif /* PVPANIC_H_ */