ARM: OMAP3: mmc-twl4030 init passes device nodes back, v2

When setting up HSMMC devices, pass the device nodes back so
board code can linking them to their power supply regulators.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
这个提交包含在:
David Brownell
2009-03-23 18:23:47 -07:00
提交者 Tony Lindgren
父节点 0329c3773e
当前提交 01971f65ff
修改 4 个文件,包含 16 行新增0 行删除

查看文件

@@ -37,6 +37,8 @@
#define OMAP_MMC_MAX_SLOTS 2
struct omap_mmc_platform_data {
/* back-link to device */
struct device *dev;
/* number of slots per controller */
unsigned nr_slots:2;