Messages in this thread Patch in this message | | | From | Brian Norris <> | Subject | [PATCH] PM / wakeirq: forward declare 'struct device' | Date | Wed, 9 Nov 2016 18:02:57 -0800 |
| |
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 --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); -- 2.8.0.rc3.226.g39d4020
| |