diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-09-04 14:26:17 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-19 02:37:19 +0300 |
commit | 677506ee09b98d5eaf6921c53f8412e5bd912514 (patch) | |
tree | 0e37361442c4781d28dded37022f95f3a259d98f /drivers/pinctrl/intel/pinctrl-geminilake.c | |
parent | 55818b90233bc13cbc46083e5ce0ea7f3c169aeb (diff) | |
download | linux-677506ee09b98d5eaf6921c53f8412e5bd912514.tar.xz |
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-geminilake.c')
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-geminilake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-geminilake.c b/drivers/pinctrl/intel/pinctrl-geminilake.c index 3e7a2a16435c..55c87d95207a 100644 --- a/drivers/pinctrl/intel/pinctrl-geminilake.c +++ b/drivers/pinctrl/intel/pinctrl-geminilake.c @@ -9,7 +9,7 @@ #include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/platform_device.h> -#include <linux/pm.h> + #include <linux/pinctrl/pinctrl.h> #include "pinctrl-intel.h" |