diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2010-08-10 21:01:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:04 -0400 |
commit | 4816858cce279b5e8d1eab0b4832d89d8f2ca58c (patch) | |
tree | 81da0dc2193db08910ba5d1c7a55e03dcd7274a9 /arch/arm/plat-omap | |
parent | 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 (diff) |
omap_hsmmc: add init_card pass-through callback
This will allow us to set up special cards in machine drivers just after
they are detected by MMC core.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Cc: Adrian Hunter <adrian.hunter@nokia.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Bob Copeland <me@bobcopeland.com>
Cc: Kalle Valo <kvalo@adurom.com>
Cc: Madhusudhan Chikkature <madhu.cr@ti.com>
Cc: Kishore Kadiyala <kishore.kadiyala@ti.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/mmc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h index c835f1e994c6..9b89ec601ee2 100644 --- a/arch/arm/plat-omap/include/plat/mmc.h +++ b/arch/arm/plat-omap/include/plat/mmc.h | |||
@@ -122,6 +122,8 @@ struct omap_mmc_platform_data { | |||
122 | /* Call back after enabling / disabling regulators */ | 122 | /* Call back after enabling / disabling regulators */ |
123 | void (*after_set_reg)(struct device *dev, int slot, | 123 | void (*after_set_reg)(struct device *dev, int slot, |
124 | int power_on, int vdd); | 124 | int power_on, int vdd); |
125 | /* if we have special card, init it using this callback */ | ||
126 | void (*init_card)(struct mmc_card *card); | ||
125 | 127 | ||
126 | /* return MMC cover switch state, can be NULL if not supported. | 128 | /* return MMC cover switch state, can be NULL if not supported. |
127 | * | 129 | * |