bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0279-dwc_otg-whitelist_table-is-now-productlist_table.patch
1 From 1a61ef7d787f940b8ff93f054a332b4a47a512c6 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",