]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mmc: host: Include interrupt.h in mmc host drivers that depends on it
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 30 Dec 2016 12:47:23 +0000 (13:47 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:01 +0000 (13:20 +0100)
An mmc host driver shouldn't rely on interrupt.h being included by another
public mmc header. Instead make that dependency explicit by including
interrupt.h in those host drivers that depends on it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mmc/host/davinci_mmc.c
drivers/mmc/host/dw_mmc.h
drivers/mmc/host/meson-gx-mmc.c
drivers/mmc/host/mtk-sd.c
drivers/mmc/host/sdhci.h
drivers/mmc/host/tmio_mmc.h
drivers/mmc/host/via-sdmmc.c
drivers/mmc/host/wmt-sdmmc.c

index 36b5af8eadb88eae79e74cad782259ba100b9910..1e2600da105f4656e3b65e8e45295e43f05fe2ea 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/mmc/slot-gpio.h>
+#include <linux/interrupt.h>
 
 #include <linux/platform_data/mmc-davinci.h>
 
index 960146106596b6901338439c287637d743a23558..231a46f142d2d077ef2e70c8663399378b14f5a7 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/mmc/core.h>
 #include <linux/dmaengine.h>
 #include <linux/reset.h>
+#include <linux/interrupt.h>
 
 #define MAX_MCI_SLOTS  2
 
index 09739352834c8253eedac3000b703e42c37eacfc..bf19d03ce2eedccdf054ef6cf035bae05a2b2aaa 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/clk.h>
 #include <linux/clk-provider.h>
 #include <linux/regulator/consumer.h>
+#include <linux/interrupt.h>
 
 #define DRIVER_NAME "meson-gx-mmc"
 
index 10ef2ae1d2f6d80e1f563265263eb25cc7cd7ed4..d33828efc25336bdc82c2365f6bef6ddf7bbbf53 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/regulator/consumer.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
+#include <linux/interrupt.h>
 
 #include <linux/mmc/card.h>
 #include <linux/mmc/core.h>
index a10a7b6a3cb4409e4cf8309cadfd6e498c43872e..edf3adfbc21325cff821ee63af8e6c9626549938 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/types.h>
 #include <linux/io.h>
 #include <linux/leds.h>
+#include <linux/interrupt.h>
 
 #include <linux/mmc/host.h>
 
index 9e20bcf3aa8d2da5fcb263e81a15845326592b36..9b2284483cdd045acb1450e448d2a16da3928191 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/pagemap.h>
 #include <linux/scatterlist.h>
 #include <linux/spinlock.h>
+#include <linux/interrupt.h>
 
 #define CTL_SD_CMD 0x00
 #define CTL_ARG_REG 0x04
index 63fac78b3d46aaa0a76861cc8c359c441b367a76..6380044c06280c49291895d8c4f97fcedef5f038 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/highmem.h>
 #include <linux/delay.h>
+#include <linux/interrupt.h>
 
 #include <linux/mmc/host.h>
 
index 5af00559e9d6f7f933bccd41db4e3dc334a41673..21ebba88679cd1616a48125f5b38b463ae6febce 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/irq.h>
 #include <linux/clk.h>
 #include <linux/gpio.h>
+#include <linux/interrupt.h>
 
 #include <linux/of.h>
 #include <linux/of_address.h>