Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348497
b: refs/heads/master
c: 07fd296
h: refs/heads/master
i:
  348495: a1fab5f
v: v3
  • Loading branch information
Aaro Koskinen authored and Tony Lindgren committed Jan 3, 2013
1 parent 239c94e commit 82ea1a8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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: 2cd1f483b8c80b2f6b032edddb18f4946f94c4fc
refs/heads/master: 07fd296d3a44f41d8a40b7b3082fa53c2a73862e
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-omap1/board-ams-delta.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static struct omap_lcd_config ams_delta_lcd_config __initdata = {
.ctrl_name = "internal",
};

static struct omap_usb_config ams_delta_usb_config = {
static struct omap_usb_config ams_delta_usb_config __initdata = {
.register_host = 1,
.hmc_mode = 16,
.pins[0] = 2,
Expand Down
8 changes: 7 additions & 1 deletion trunk/arch/arm/mach-omap1/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,14 @@ static void __init omap_1510_usb_init(struct omap_usb_config *config)
static inline void omap_1510_usb_init(struct omap_usb_config *config) {}
#endif

void __init omap1_usb_init(struct omap_usb_config *pdata)
void __init omap1_usb_init(struct omap_usb_config *_pdata)
{
struct omap_usb_config *pdata;

pdata = kmemdup(_pdata, sizeof(*pdata), GFP_KERNEL);
if (!pdata)
return;

pdata->usb0_init = omap1_usb0_init;
pdata->usb1_init = omap1_usb1_init;
pdata->usb2_init = omap1_usb2_init;
Expand Down

0 comments on commit 82ea1a8

Please sign in to comment.