]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: fix modem driver build error
authorKyson Lok <kysonlok@gmail.com>
Mon, 28 May 2018 06:21:41 +0000 (14:21 +0800)
committerKyson Lok <kysonlok@gmail.com>
Mon, 28 May 2018 06:21:41 +0000 (14:21 +0800)
target/linux/ar71xx/patches-4.9/742-add-modem-driver.patch

index 2c7f689ec49f5573369d12e2ce74f7ea7a061db6..fa00a208d5b8b7f212f8f5595d773d8311084b79 100644 (file)
 +      if (serial->dev->descriptor.idVendor == cpu_to_le16(0x05C6) &&
 +                      serial->dev->descriptor.idProduct == cpu_to_le16(0x9215)) {
 +              pm_runtime_set_autosuspend_delay(&serial->dev->dev, 3000);
-+              usb_set_serial_data(serial, (void *)blacklist);
++              usb_set_serial_data(serial, (void *)device_flags);
 +              usb_enable_autosuspend(serial->dev);
 +      }
 +      if (serial->dev->descriptor.idVendor == cpu_to_le16(0x2C7C)) {