OpenCloudOS-Kernel/arch/arm/mach-mmp
Randy Dunlap ac3167257b headers: separate linux/mod_devicetable.h from linux/platform_device.h
At over 4000 #includes, <linux/platform_device.h> is the 9th most
#included header file in the Linux kernel.  It does not need
<linux/mod_devicetable.h>, so drop that header and explicitly add
<linux/mod_devicetable.h> to source files that need it.

   4146 #include <linux/platform_device.h>

After this patch, there are 225 files that use <linux/mod_devicetable.h>,
for a reduction of around 3900 times that <linux/mod_devicetable.h>
does not have to be read & parsed.

    225 #include <linux/mod_devicetable.h>

This patch was build-tested on 20 different arch-es.

It also makes these drivers SubmitChecklist#1 compliant.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <lkp@intel.com> # drivers/media/platform/vimc/
Reported-by: kbuild test robot <lkp@intel.com> # drivers/pinctrl/pinctrl-u300.c
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-07 17:52:26 +02:00
..
Kconfig ARM: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-03 12:18:13 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
addr-map.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
aspenite.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00
avengers_lite.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
brownstone.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
clock-mmp2.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock-pxa168.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock-pxa910.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock.c ARM: mmp: let clk_disable() return immediately if clk is NULL 2017-03-30 17:38:34 +02:00
clock.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
common.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cputype.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devices.c ARM: mmp: mark usb_dma_mask as __maybe_unused 2017-07-27 22:57:49 +02:00
devices.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
flint.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
gplugd.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
irqs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
jasper.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
mfp-mmp2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa168.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa910.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mmp-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mmp2-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mmp2.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
mmp2.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
pm-mmp2.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-mmp2.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-pxa910.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-pxa910.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pxa168.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pxa168.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
pxa910.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pxa910.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
regs-apbc.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-apmu.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-icu.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-timers.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-usb.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
sram.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
tavorevb.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
teton_bga.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
teton_bga.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
time.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
ttc_dkb.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00