diff options
| author | Sam Protsenko <[email protected]> | 2024-08-07 22:14:34 -0500 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2024-08-19 16:09:06 +0900 |
| commit | b8ea3810aa94a294fab12f496592c39498361fa5 (patch) | |
| tree | 103ed12f8ccad71e1834fdb01eaedfd43cf8945a /include | |
| parent | 897e96c5a8fbcc81b29133c1ed3acd90e116ddc5 (diff) | |
mmc: exynos_dw_mmc: Move quirks from struct dwmci_host to chip data
host->quirks field is only used internally in exynos_dw_mmc.c driver.
To avoid cluttering the scope of struct dwmci_host, move quirks field
into Exynos driver's chip data, where it can be statically defined.
No functional change.
Signed-off-by: Sam Protsenko <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/dwmmc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/dwmmc.h b/include/dwmmc.h index 8c2500da9ef..6edb9e1a59c 100644 --- a/include/dwmmc.h +++ b/include/dwmmc.h @@ -149,9 +149,6 @@ #define DWMCI_IDINTEN_TI BIT(0) #define DWMCI_IDINTEN_MASK (DWMCI_IDINTEN_TI | DWMCI_IDINTEN_RI) -/* Quirks */ -#define DWMCI_QUIRK_DISABLE_SMU BIT(0) - /** * struct dwmci_idmac_regs - Offsets of IDMAC registers * @@ -180,7 +177,6 @@ struct dwmci_idmac_regs { * * @name: Device name * @ioaddr: Base I/O address of controller - * @quirks: Quick flags - see DWMCI_QUIRK_... * @caps: Capabilities - see MMC_MODE_... * @clock: Current clock frequency (after internal divider), Hz * @bus_hz: Bus speed in Hz, if @get_mmc_clk() is NULL @@ -200,7 +196,6 @@ struct dwmci_idmac_regs { struct dwmci_host { const char *name; void *ioaddr; - unsigned int quirks; unsigned int caps; unsigned int clock; unsigned int bus_hz; |
