tn3399_openwrt/target/linux/bcm27xx/patches-5.15/950-0279-dwc_otg-whitelist_table-is-now-productlist_table.patch
Álvaro Fernández Rojas 20ea6adbf1 bcm27xx: add support for linux v5.15
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B

Signed-off-by: Marty Jones <mj8263788@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-17 15:11:22 +02:00

21 lines
782 B
Diff

From 1a61ef7d787f940b8ff93f054a332b4a47a512c6 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 3 Sep 2020 14:02:41 +0100
Subject: [PATCH] dwc_otg: whitelist_table is now productlist_table
---
drivers/usb/core/otg_productlist.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/usb/core/otg_productlist.h
+++ b/drivers/usb/core/otg_productlist.h
@@ -139,7 +139,7 @@ static int is_targeted(struct usb_device
/* NOTE: can't use usb_match_id() since interface caches
* aren't set up yet. this is cut/paste from that code.
*/
- for (id = whitelist_table; id->match_flags; id++) {
+ for (id = productlist_table; id->match_flags; id++) {
#ifdef DEBUG
dev_dbg(&dev->dev,
"ID: V:%04x P:%04x DC:%04x SC:%04x PR:%04x \n",