diff options
| author | Michal Simek <[email protected]> | 2020-10-23 04:58:59 -0600 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2020-10-27 08:13:33 +0100 |
| commit | 9851f50d3d8e8a933a072b11f7f497846b068fb8 (patch) | |
| tree | f696b6b04f2c668fb7a03b2fca4634540b3e7549 /drivers | |
| parent | 17a42abb40dd006b5f0e96d69e4894bef4c04ba8 (diff) | |
mmc: zynq_sdhci: Move macro to the top
Just group macros below headers. Other patches will be using this location
too.
Signed-off-by: Michal Simek <[email protected]>
Signed-off-by: Ashok Reddy Soma <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mmc/zynq_sdhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 4f62bd008d2..998a3845068 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -19,6 +19,8 @@ #include <sdhci.h> #include <zynqmp_tap_delay.h> +#define SDHCI_TUNING_LOOP_COUNT 40 + struct arasan_sdhci_plat { struct mmc_config cfg; struct mmc mmc; @@ -46,8 +48,6 @@ static const u8 mode2timing[] = { [MMC_HS_200] = MMC_TIMING_MMC_HS200, }; -#define SDHCI_TUNING_LOOP_COUNT 40 - static void arasan_zynqmp_dll_reset(struct sdhci_host *host, u8 deviceid) { u16 clk; |
