firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_usb_host_ohci...

16 lines
503 B
Diff

diff -drupN a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
--- a/drivers/usb/host/ohci-hcd.c 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/usb/host/ohci-hcd.c 2022-06-12 05:28:14.000000000 +0300
@@ -1255,6 +1255,11 @@ MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER ohci_hcd_tilegx_driver
#endif
+#if IS_ENABLED(CONFIG_USB_SUNXI_HCI)
+#include "ohci_sunxi.c"
+#define PLATFORM_DRIVER sunxi_ohci_hcd_driver
+#endif
+
static int __init ohci_hcd_mod_init(void)
{
int retval = 0;