diff options
author | 2019-10-18 13:54:29 +0300 | |
---|---|---|
committer | 2019-10-18 18:26:09 +0100 | |
commit | ae8fbf1d2403bc187a5d8fe82fbf2205d89cdb60 (patch) | |
tree | 493ae382048e03fd580bccb31a93a0fe04617ecf /drivers/spi/spi-pxa2xx.c | |
parent | spi: pxa2xx: Convert to use device_get_match_data() (diff) | |
download | linux-ae8fbf1d2403bc187a5d8fe82fbf2205d89cdb60.tar.gz linux-ae8fbf1d2403bc187a5d8fe82fbf2205d89cdb60.tar.bz2 linux-ae8fbf1d2403bc187a5d8fe82fbf2205d89cdb60.zip |
spi: pxa2xx: Replace of_device.h with mod_devicetable.h and of.h
There is nothing in use from of_device.h. The definitions and macros
are available thru mod_devicetable.h and of.h.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20191018105429.82782-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
-rw-r--r-- | drivers/spi/spi-pxa2xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index 684a5585ac7f..443c1f4d2a9a 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -18,7 +18,8 @@ #include <linux/ioport.h> #include <linux/kernel.h> #include <linux/module.h> -#include <linux/of_device.h> +#include <linux/mod_devicetable.h> +#include <linux/of.h> #include <linux/pci.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> |