diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/arm_pl180_mmci.c | 2 | ||||
-rw-r--r-- | drivers/mmc/bcm2835_sdhost.c | 2 | ||||
-rw-r--r-- | drivers/mmc/gen_atmel_mci.c | 2 | ||||
-rw-r--r-- | drivers/mmc/mmc-uclass.c | 2 | ||||
-rw-r--r-- | drivers/mmc/rockchip_dw_mmc.c | 2 | ||||
-rw-r--r-- | drivers/mmc/rockchip_sdhci.c | 1 | ||||
-rw-r--r-- | drivers/mmc/sandbox_mmc.c | 2 | ||||
-rw-r--r-- | drivers/mmc/stm32_sdmmc2.c | 2 | ||||
-rw-r--r-- | drivers/mmc/tegra_mmc.c | 2 |
9 files changed, 0 insertions, 17 deletions
diff --git a/drivers/mmc/arm_pl180_mmci.c b/drivers/mmc/arm_pl180_mmci.c index 89a7c19..8664a37 100644 --- a/drivers/mmc/arm_pl180_mmci.c +++ b/drivers/mmc/arm_pl180_mmci.c @@ -25,8 +25,6 @@ #ifdef CONFIG_DM_MMC #include <dm.h> -DECLARE_GLOBAL_DATA_PTR; - #define MMC_CLOCK_MAX 48000000 #define MMC_CLOCK_MIN 400000 diff --git a/drivers/mmc/bcm2835_sdhost.c b/drivers/mmc/bcm2835_sdhost.c index bccd182..752c660 100644 --- a/drivers/mmc/bcm2835_sdhost.c +++ b/drivers/mmc/bcm2835_sdhost.c @@ -44,8 +44,6 @@ #include <mach/gpio.h> #include <power/regulator.h> -DECLARE_GLOBAL_DATA_PTR; - #define msleep(a) udelay(a * 1000) #define SDCMD 0x00 /* Command to SD card - 16 R/W */ diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c index 1c108b5..186b3d7 100644 --- a/drivers/mmc/gen_atmel_mci.c +++ b/drivers/mmc/gen_atmel_mci.c @@ -22,8 +22,6 @@ #include <asm/arch/hardware.h> #include "atmel_mci.h" -DECLARE_GLOBAL_DATA_PTR; - #ifndef CONFIG_SYS_MMC_CLK_OD # define CONFIG_SYS_MMC_CLK_OD 150000 #endif diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c index a3536b1..0481e27 100644 --- a/drivers/mmc/mmc-uclass.c +++ b/drivers/mmc/mmc-uclass.c @@ -12,8 +12,6 @@ #include <dm/lists.h> #include "mmc_private.h" -DECLARE_GLOBAL_DATA_PTR; - int dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, struct mmc_data *data) { diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c index 807dc9e..4ba1436 100644 --- a/drivers/mmc/rockchip_dw_mmc.c +++ b/drivers/mmc/rockchip_dw_mmc.c @@ -18,8 +18,6 @@ #include <asm/arch/periph.h> #include <linux/err.h> -DECLARE_GLOBAL_DATA_PTR; - struct rockchip_mmc_plat { #if CONFIG_IS_ENABLED(OF_PLATDATA) struct dtd_rockchip_rk3288_dw_mshc dtplat; diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c index ab89be4..8868f34 100644 --- a/drivers/mmc/rockchip_sdhci.c +++ b/drivers/mmc/rockchip_sdhci.c @@ -15,7 +15,6 @@ #include <sdhci.h> #include <clk.h> -DECLARE_GLOBAL_DATA_PTR; /* 400KHz is max freq for card ID etc. Use that as min */ #define EMMC_MIN_FREQ 400000 diff --git a/drivers/mmc/sandbox_mmc.c b/drivers/mmc/sandbox_mmc.c index 8a5d256..0945beb 100644 --- a/drivers/mmc/sandbox_mmc.c +++ b/drivers/mmc/sandbox_mmc.c @@ -12,8 +12,6 @@ #include <mmc.h> #include <asm/test.h> -DECLARE_GLOBAL_DATA_PTR; - struct sandbox_mmc_plat { struct mmc_config cfg; struct mmc mmc; diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c index f5b21dd..47afa26 100644 --- a/drivers/mmc/stm32_sdmmc2.c +++ b/drivers/mmc/stm32_sdmmc2.c @@ -189,8 +189,6 @@ struct stm32_sdmmc2_ctx { #define SDMMC_CMD_TIMEOUT 0xFFFFFFFF -DECLARE_GLOBAL_DATA_PTR; - static void stm32_sdmmc2_start_data(struct stm32_sdmmc2_priv *priv, struct mmc_data *data, struct stm32_sdmmc2_ctx *ctx) diff --git a/drivers/mmc/tegra_mmc.c b/drivers/mmc/tegra_mmc.c index 7474529..ee63166 100644 --- a/drivers/mmc/tegra_mmc.c +++ b/drivers/mmc/tegra_mmc.c @@ -16,8 +16,6 @@ #include <asm/io.h> #include <asm/arch-tegra/tegra_mmc.h> -DECLARE_GLOBAL_DATA_PTR; - struct tegra_mmc_plat { struct mmc_config cfg; struct mmc mmc; |