summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rohm-pwrbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/rohm-pwrbutton.h')
-rw-r--r--drivers/mfd/rohm-pwrbutton.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/mfd/rohm-pwrbutton.h b/drivers/mfd/rohm-pwrbutton.h
new file mode 100644
index 000000000..47ae5c9d1
--- /dev/null
+++ b/drivers/mfd/rohm-pwrbutton.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __LINUX_MFD_ROHM_PWRBUTTON_H__
+#define __LINUX_MFD_ROHM_PWRBUTTON_H__
+
+struct device;
+struct irq_domain;
+
+int rohm_register_pwrbutton(struct device *dev, int irq, const char *name,
+ bool wakeup, struct irq_domain *irq_domain);
+
+#endif /* __LINUX_MFD_ROHM_PWRBUTTON_H__ */