[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1478743377-15865-1-git-send-email-briannorris@chromium.org>
Date: Wed, 9 Nov 2016 18:02:57 -0800
From: Brian Norris <briannorris@...omium.org>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: linux-pm@...r.kernel.org, <linux-kernel@...r.kernel.org>,
Brian Norris <briannorris@...omium.org>
Subject: [PATCH] PM / wakeirq: forward declare 'struct device'
Drivers might include this header without <linux/device.h>.
Signed-off-by: Brian Norris <briannorris@...omium.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
Powered by blists - more mailing lists