projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2faa3e
)
spi: pxa2xx: Replace of_device.h with mod_devicetable.h and of.h
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Fri, 18 Oct 2019 10:54:29 +0000
(13:54 +0300)
committer
Mark Brown
<broonie@kernel.org>
Fri, 18 Oct 2019 17:26:09 +0000
(18:26 +0100)
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>
drivers/spi/spi-pxa2xx.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-pxa2xx.c
b/drivers/spi/spi-pxa2xx.c
index 684a5585ac7fbf43ed0550d185b4bbdc53225d9c..443c1f4d2a9adb091c4e8a01a29fd476a6ca3120 100644
(file)
--- 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>