diff options
author | Tom Rini <trini@ti.com> | 2013-10-21 08:10:36 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-21 08:10:36 -0400 |
commit | 748bde608a8dfea5b64e186af4d9c27642fe7813 (patch) | |
tree | 8564b610e812404bd320ddea458fc585d9c49d7e /board/samsung/trats/trats.c | |
parent | 9dff87a297dabe4af60012ad2d990ff8967f1d55 (diff) | |
parent | 449697f14ebc9f7cb5bf15bbad0d46c6ca2c4979 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'board/samsung/trats/trats.c')
-rw-r--r-- | board/samsung/trats/trats.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index 7f61d17abb..d31d511e39 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -26,6 +26,7 @@ #include <power/max8997_muic.h> #include <power/battery.h> #include <power/max17042_fg.h> +#include <usb.h> #include <usb_mass_storage.h> #include "setup.h" @@ -495,10 +496,10 @@ struct s3c_plat_otg_data s5pc210_otg_data = { .usb_flags = PHY0_SLEEP, }; -void board_usb_init(void) +int board_usb_init(int index, enum usb_init_type init) { debug("USB_udc_probe\n"); - s3c_udc_probe(&s5pc210_otg_data); + return s3c_udc_probe(&s5pc210_otg_data); } #endif |