usb: board: samsung: Add default board_usb_cleanup() definition for Exynos SoCs
This definition is necessary for Exynos based boards to work properly.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index 2e17da8..0979868 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -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 @@
dm_gpio_set_value(&gpio, 1);
}
}
+
+int board_usb_cleanup(int index, enum usb_init_type init)
+{
+ return 0;
+}