mmc: mmci: Add private pointer for variant
In variant init function, some references may be allocated for variant specific usage. Add a private void* to mmci_host struct allows at variant functions to access on this references by mmci_host structure. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Link: https://lore.kernel.org/r/20200128090636.13689-5-ludovic.barre@st.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
7b9716a0f1
commit
31b963e194
@ -410,6 +410,7 @@ struct mmci_host {
|
||||
struct mmc_host_ops *mmc_ops;
|
||||
struct mmci_host_ops *ops;
|
||||
struct variant_data *variant;
|
||||
void *variant_priv;
|
||||
struct pinctrl *pinctrl;
|
||||
struct pinctrl_state *pins_opendrain;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user