diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-01-24 20:03:28 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-02-18 09:06:52 +0000 |
commit | 16b7a09bb6fdf5d83bd22fd930c7e3c1e4f32911 (patch) | |
tree | a03cc71c57dfa67bad798a07ca76118f6c812777 /drivers/mfd/intel-lpss-pci.c | |
parent | c1778e5819a9784b5551cf8f7abd66571c1239e2 (diff) | |
download | linux-stable-16b7a09bb6fdf5d83bd22fd930c7e3c1e4f32911.tar.gz linux-stable-16b7a09bb6fdf5d83bd22fd930c7e3c1e4f32911.tar.bz2 linux-stable-16b7a09bb6fdf5d83bd22fd930c7e3c1e4f32911.zip |
mfd: intel-lpss: Move linux/pm.h to the local header
We now using a common macro for PM operations in Intel LPSS driver,
and, since that macro relies on the definition and macro from linux/pm.h
header file, it's logical to include it directly in intel-lpss.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: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/intel-lpss-pci.c')
-rw-r--r-- | drivers/mfd/intel-lpss-pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c index 0e5282fc1467..cba2eb166650 100644 --- a/drivers/mfd/intel-lpss-pci.c +++ b/drivers/mfd/intel-lpss-pci.c @@ -15,7 +15,6 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> -#include <linux/pm.h> #include <linux/pm_runtime.h> #include <linux/property.h> |