summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/intel/pinctrl-lewisburg.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-09-04 14:26:17 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-09-18 16:37:19 -0700
commit677506ee09b98d5eaf6921c53f8412e5bd912514 (patch)
tree0e37361442c4781d28dded37022f95f3a259d98f /drivers/pinctrl/intel/pinctrl-lewisburg.c
parent55818b90233bc13cbc46083e5ce0ea7f3c169aeb (diff)
downloadlinux-sh-677506ee09b98d5eaf6921c53f8412e5bd912514.tar.gz
pinctrl: intel: Move linux/pm.h to the local header
We now using a common macro for PM operations in pin control drivers for Intel SoCs, and since that macro relies on the definition and macro from linux/pm.h header file, it's logical to include it directly in pinctrl-intel.h. Otherwise it's a bit fragile and requires a proper ordering of header inclusion in C files. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-lewisburg.c')
-rw-r--r--drivers/pinctrl/intel/pinctrl-lewisburg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-lewisburg.c b/drivers/pinctrl/intel/pinctrl-lewisburg.c
index 804b86e8aa1f..70ea9c518460 100644
--- a/drivers/pinctrl/intel/pinctrl-lewisburg.c
+++ b/drivers/pinctrl/intel/pinctrl-lewisburg.c
@@ -9,7 +9,7 @@
#include <linux/acpi.h>
#include <linux/module.h>
#include <linux/platform_device.h>
-#include <linux/pm.h>
+
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-intel.h"