6841a2df4ae03c1b5de6fabb86af2d708f916dad
[openwrt/staging/noltari.git] / target / linux / bcm27xx / patches-5.10 / 950-0307-dwc_otg-whitelist_table-is-now-productlist_table.patch
1 From 1ecaa185ff343a783c147b17dd85482c507d2d9e Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Thu, 3 Sep 2020 14:02:41 +0100
4 Subject: [PATCH] dwc_otg: whitelist_table is now productlist_table
5
6 ---
7 drivers/usb/core/otg_productlist.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 --- a/drivers/usb/core/otg_productlist.h
11 +++ b/drivers/usb/core/otg_productlist.h
12 @@ -139,7 +139,7 @@ static int is_targeted(struct usb_device
13 /* NOTE: can't use usb_match_id() since interface caches
14 * aren't set up yet. this is cut/paste from that code.
15 */
16 - for (id = whitelist_table; id->match_flags; id++) {
17 + for (id = productlist_table; id->match_flags; id++) {
18 #ifdef DEBUG
19 dev_dbg(&dev->dev,
20 "ID: V:%04x P:%04x DC:%04x SC:%04x PR:%04x \n",