diff mbox

PM / wakeirq: forward declare 'struct device'

Message ID 1478743377-15865-1-git-send-email-briannorris@chromium.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Brian Norris Nov. 10, 2016, 2:02 a.m. UTC
Drivers might include this header without <linux/device.h>.

Signed-off-by: Brian Norris <briannorris@chromium.org>
---
 include/linux/pm_wakeirq.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/include/linux/pm_wakeirq.h b/include/linux/pm_wakeirq.h
index cd5b62db9084..49c2220fb245 100644
--- a/include/linux/pm_wakeirq.h
+++ b/include/linux/pm_wakeirq.h
@@ -14,6 +14,8 @@ 
 #ifndef _LINUX_PM_WAKEIRQ_H
 #define _LINUX_PM_WAKEIRQ_H
 
+struct device;
+
 #ifdef CONFIG_PM
 
 extern int dev_pm_set_wake_irq(struct device *dev, int irq);