mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-29 09:14:10 +00:00
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>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mtk_cec.c | ||
| mtk_cec.h | ||
| mtk_disp_color.c | ||
| mtk_disp_ovl.c | ||
| mtk_disp_rdma.c | ||
| mtk_dpi_regs.h | ||
| mtk_dpi.c | ||
| mtk_drm_crtc.c | ||
| mtk_drm_crtc.h | ||
| mtk_drm_ddp_comp.c | ||
| mtk_drm_ddp_comp.h | ||
| mtk_drm_ddp.c | ||
| mtk_drm_ddp.h | ||
| mtk_drm_drv.c | ||
| mtk_drm_drv.h | ||
| mtk_drm_fb.c | ||
| mtk_drm_fb.h | ||
| mtk_drm_gem.c | ||
| mtk_drm_gem.h | ||
| mtk_drm_plane.c | ||
| mtk_drm_plane.h | ||
| mtk_dsi.c | ||
| mtk_hdmi_ddc.c | ||
| mtk_hdmi_regs.h | ||
| mtk_hdmi.c | ||
| mtk_hdmi.h | ||
| mtk_mipi_tx.c | ||
| mtk_mt8173_hdmi_phy.c | ||