On 09.03.2021 16:28:37, Marc Kleine-Budde wrote: > On 09.03.2021 09:21:27, Stephane Grosjean wrote: > > Since the peak_usb driver also supports the CAN-USB interfaces > > "PCAN-USB X6" and "PCAN-Chip USB" from PEAK-System GmbH, this patch adds > > their names to the list of explicitly supported devices. > > > > Signed-off-by: Stephane Grosjean <s.grosjean@xxxxxxxxxxxxxxx> > > --- > > drivers/net/can/usb/peak_usb/pcan_usb_fd.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_fd.c b/drivers/net/can/usb/peak_usb/pcan_usb_fd.c > > index 6183a42f6491..8e6250c4c417 100644 > > --- a/drivers/net/can/usb/peak_usb/pcan_usb_fd.c > > +++ b/drivers/net/can/usb/peak_usb/pcan_usb_fd.c > > @@ -19,6 +19,8 @@ > > > > MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB FD adapter"); > > MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB Pro FD adapter"); > > +MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB X6 adapter"); > > +MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-Chip USB"); > > I've exchanged these, to correspond the order of the device ids. Funny side note: MODULE_SUPPORTED_DEVICE was a noop define. All uses have been globally removed from Linus' tree after this patch hit linux-net/master, but before it landed in Linus' tree. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature