usb: board: samsung: Add default board_usb_cleanup() definition for Exynos SoCs
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 3 Mar 2015 16:32:03 +0000 (17:32 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:48:11 +0000 (05:48 +0200)
This definition is necessary for Exynos based boards to work properly.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
board/samsung/common/board.c

index 2e17da8a7a44766d8431ee8510c15f710caa2b92..09798682117232e67f80a72e7abc98168f29cb56 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/arch/sromc.h>
 #include <lcd.h>
 #include <samsung/misc.h>
+#include <usb.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -386,3 +387,8 @@ void reset_misc(void)
                dm_gpio_set_value(&gpio, 1);
        }
 }
+
+int board_usb_cleanup(int index, enum usb_init_type init)
+{
+       return 0;
+}