@@ -32,7 +32,6 @@
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/module.h>
@@ -16,7 +16,6 @@
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
-#include <linux/init.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/platform_device.h>
@@ -17,7 +17,6 @@
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/err.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/mm.h>
@@ -25,7 +25,6 @@
* copy operations.
*/
-#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/pci.h>
@@ -24,7 +24,6 @@
#include <linux/dmaengine.h>
#include "hw.h"
#include "registers.h"
-#include <linux/init.h>
#include <linux/dmapool.h>
#include <linux/cache.h>
#include <linux/pci_ids.h>
@@ -25,7 +25,6 @@
* does asynchronous data movement and checksumming operations.
*/
-#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/pci.h>
@@ -22,7 +22,6 @@
* on the Intel Xscale(R) family of I/O Processors (IOP 32x, 33x, 134x)
*/
-#include <linux/init.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
@@ -9,7 +9,6 @@
#include <linux/sched.h>
#include <linux/device.h>
#include <linux/dmaengine.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
@@ -8,7 +8,6 @@
#include <linux/err.h>
#include <linux/module.h>
-#include <linux/init.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
@@ -11,7 +11,6 @@
#include <linux/err.h>
#include <linux/module.h>
-#include <linux/init.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
@@ -8,7 +8,6 @@
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/module.h>
@@ -19,7 +19,6 @@
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
-#include <linux/init.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/module.h>
@@ -13,7 +13,6 @@
#include <linux/kernel.h>
#include <linux/io.h>
-#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/string.h>
@@ -18,7 +18,6 @@
#include <linux/dmaengine.h>
#include <linux/delay.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/platform_data/dma-rcar-hpbdma.h>
@@ -14,7 +14,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
@@ -22,7 +22,6 @@
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/mm.h>
@@ -22,7 +22,6 @@
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
None of these files are actually using any __init type directives and hence don't need to include <linux/init.h>. Most are just a left over from __devinit and __cpuinit removal, or simply due to code getting copied from one driver to the next. Cc: Vinod Koul <vinod.koul@intel.com> Cc: Laxman Dewangan <ldewangan@nvidia.com> Cc: dmaengine@vger.kernel.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> --- drivers/dma/bcm2835-dma.c | 1 - drivers/dma/dma-jz4740.c | 1 - drivers/dma/dw/core.c | 1 - drivers/dma/ioat/dma.c | 1 - drivers/dma/ioat/dma.h | 1 - drivers/dma/ioat/dma_v2.c | 1 - drivers/dma/iop-adma.c | 1 - drivers/dma/k3dma.c | 1 - drivers/dma/mmp_pdma.c | 1 - drivers/dma/mmp_tdma.c | 1 - drivers/dma/omap-dma.c | 1 - drivers/dma/pch_dma.c | 1 - drivers/dma/pl330.c | 1 - drivers/dma/sh/rcar-hpbdma.c | 1 - drivers/dma/sh/sudmac.c | 1 - drivers/dma/tegra20-apb-dma.c | 1 - drivers/dma/timb_dma.c | 1 - 17 files changed, 17 deletions(-)