Skip to content

Commit

Permalink
mx31moboard: fix usbh device names
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Valentin Longchamp authored and Sascha Hauer committed Jan 4, 2010
1 parent 9d00278 commit 4c21186
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-mx3/mx31moboard-devboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static int __init devboard_usbh1_init(void)

usbh1_pdata.otg = otg;

return mxc_register_device(&mx31_usbh1, &usbh1_pdata);
return mxc_register_device(&mxc_usbh1, &usbh1_pdata);
}

/*
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-mx3/mx31moboard-marxbot.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static int __init marxbot_usbh1_init(void)

usbh1_pdata.otg = otg;

return mxc_register_device(&mx31_usbh1, &usbh1_pdata);
return mxc_register_device(&mxc_usbh1, &usbh1_pdata);
}

/*
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-mx3/mx31moboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ static int __init moboard_usbh2_init(void)
usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT);

return mxc_register_device(&mx31_usbh2, &usbh2_pdata);
return mxc_register_device(&mxc_usbh2, &usbh2_pdata);
}


Expand Down

0 comments on commit 4c21186

Please sign in to comment.