Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216998
b: refs/heads/master
c: b9b5262
h: refs/heads/master
v: v3
  • Loading branch information
David Anders authored and Tony Lindgren committed Oct 8, 2010
1 parent 8c4e1b4 commit 0e85ea5
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 191183b94cc511d0fc2326c83165d95aeabacac4
refs/heads/master: b9b52620823f84f95f3fd94dd6769b7102d7888a
9 changes: 8 additions & 1 deletion trunk/arch/arm/mach-omap2/board-omap4panda.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,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 omap4_twl6030_hsmmc_set_late_init\n");
return;
}
pdata = dev->platform_data;

pdata->init = omap4_twl6030_hsmmc_late_init;
}
Expand Down

0 comments on commit 0e85ea5

Please sign in to comment.