diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-10-29 14:39:30 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-11-04 10:31:46 +0000 |
commit | a9a83785def8bf9142b37c86ffcb0fdc93fb851e (patch) | |
tree | eaee4f1a310fa30f3d0c7e56f7d4b43e81587114 /drivers/mmc/host/mmci.h | |
parent | 70ac09358cc52f3ddbf73555dc150d486a7133bb (diff) | |
download | talos-obmc-linux-a9a83785def8bf9142b37c86ffcb0fdc93fb851e.tar.gz talos-obmc-linux-a9a83785def8bf9142b37c86ffcb0fdc93fb851e.zip |
ARM: 7562/2: MMCI: fetch pinctrl handle and set default state
This fetches the pinctrl resource for the MMCI driver, and if
a "default" state is found, it is activated.
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
-rw-r--r-- | drivers/mmc/host/mmci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h index d437ccf62d6b..d34d8c0add8e 100644 --- a/drivers/mmc/host/mmci.h +++ b/drivers/mmc/host/mmci.h @@ -195,6 +195,10 @@ struct mmci_host { unsigned int size; struct regulator *vcc; + /* pinctrl handles */ + struct pinctrl *pinctrl; + struct pinctrl_state *pins_default; + #ifdef CONFIG_DMA_ENGINE /* DMA stuff */ struct dma_chan *dma_current; |