|
@@ -815,7 +815,7 @@ static int usb_serial_probe(struct usb_interface *interface,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-#if defined(CONFIG_USB_SERIAL_PL2303) || defined(CONFIG_USB_SERIAL_PL2303_MODULE)
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_USB_SERIAL_PL2303)
|
|
/* BEGIN HORRIBLE HACK FOR PL2303 */
|
|
/* BEGIN HORRIBLE HACK FOR PL2303 */
|
|
/* this is needed due to the looney way its endpoints are set up */
|
|
/* this is needed due to the looney way its endpoints are set up */
|
|
if (((le16_to_cpu(dev->descriptor.idVendor) == PL2303_VENDOR_ID) &&
|
|
if (((le16_to_cpu(dev->descriptor.idVendor) == PL2303_VENDOR_ID) &&
|