summaryrefslogtreecommitdiff
path: root/include/linux/mfd/motorola-cpcap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/motorola-cpcap.h')
-rw-r--r--include/linux/mfd/motorola-cpcap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/motorola-cpcap.h b/include/linux/mfd/motorola-cpcap.h
index b4031c2b2214..aefc49cb7ba9 100644
--- a/include/linux/mfd/motorola-cpcap.h
+++ b/include/linux/mfd/motorola-cpcap.h
@@ -14,6 +14,9 @@
* published by the Free Software Foundation.
*/
+#include <linux/device.h>
+#include <linux/regmap.h>
+
#define CPCAP_VENDOR_ST 0
#define CPCAP_VENDOR_TI 1
@@ -290,3 +293,5 @@ static inline int cpcap_get_vendor(struct device *dev,
return 0;
}
+
+extern int cpcap_sense_virq(struct regmap *regmap, int virq);