[PATCH] mmc: zynq_sdhci: Remove global pointer
Michal Simek
monstr at monstr.eu
Thu Jun 25 10:02:25 CEST 2020
po 4. 5. 2020 v 15:38 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> Driver is not calling gd anywhere that's why there is not need to define
> it.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> drivers/mmc/zynq_sdhci.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
> index 18925d01fa0b..df6d3f7a7e47 100644
> --- a/drivers/mmc/zynq_sdhci.c
> +++ b/drivers/mmc/zynq_sdhci.c
> @@ -17,8 +17,6 @@
> #include <sdhci.h>
> #include <zynqmp_tap_delay.h>
>
> -DECLARE_GLOBAL_DATA_PTR;
> -
> struct arasan_sdhci_plat {
> struct mmc_config cfg;
> struct mmc mmc;
> --
> 2.26.2
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
More information about the U-Boot
mailing list