Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216959
b: refs/heads/master
c: 531c21b
h: refs/heads/master
i:
  216957: dd98450
  216955: 24353ff
  216951: f5f410f
  216943: 654f272
  216927: 9d0f2c3
  216895: 49c998f
  216831: 7516913
v: v3
  • Loading branch information
Benoit Cousson authored and Tony Lindgren committed Oct 1, 2010
1 parent d90af34 commit e5bc886
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 07ad64b60c4d1f2bdbefa5db29ccb235596bc670
refs/heads/master: 531c21ba1a298422ace28efbcdf94d5579a1b702
8 changes: 7 additions & 1 deletion trunk/arch/arm/mach-omap2/board-4430sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,14 @@ static int omap4_twl6030_hsmmc_late_init(struct device *dev)

static __init void omap4_twl6030_hsmmc_set_late_init(struct device *dev)
{
struct omap_mmc_platform_data *pdata = dev->platform_data;
struct omap_mmc_platform_data *pdata;

/* dev can be null if CONFIG_MMC_OMAP_HS is not set */
if (!dev) {
pr_err("Failed %s\n", __func__);
return;
}
pdata = dev->platform_data;
pdata->init = omap4_twl6030_hsmmc_late_init;
}

Expand Down

0 comments on commit e5bc886

Please sign in to comment.