diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-10-29 09:39:30 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-11-04 05:31:46 -0500 |
commit | a9a83785def8bf9142b37c86ffcb0fdc93fb851e (patch) | |
tree | eaee4f1a310fa30f3d0c7e56f7d4b43e81587114 /drivers/mmc/host/mmci.h | |
parent | 70ac09358cc52f3ddbf73555dc150d486a7133bb (diff) |
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 { | |||
195 | unsigned int size; | 195 | unsigned int size; |
196 | struct regulator *vcc; | 196 | struct regulator *vcc; |
197 | 197 | ||
198 | /* pinctrl handles */ | ||
199 | struct pinctrl *pinctrl; | ||
200 | struct pinctrl_state *pins_default; | ||
201 | |||
198 | #ifdef CONFIG_DMA_ENGINE | 202 | #ifdef CONFIG_DMA_ENGINE |
199 | /* DMA stuff */ | 203 | /* DMA stuff */ |
200 | struct dma_chan *dma_current; | 204 | struct dma_chan *dma_current; |