On 11/6/20 6:02 PM, Gerhard Uttenthaler wrote: > Signed-off-by: Gerhard Uttenthaler <uttenthaler@xxxxxxxxxxxxxxxx> > --- > drivers/net/can/usb/ems_usb.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/can/usb/ems_usb.c b/drivers/net/can/usb/ems_usb.c > index 7ede3ac08ed5..087069f999e5 100644 > --- a/drivers/net/can/usb/ems_usb.c > +++ b/drivers/net/can/usb/ems_usb.c > @@ -269,7 +269,7 @@ struct __packed cpc_can_error { > /* Structure containing RX/TX error counter. This structure is used to request > * the values of the CAN controllers TX and RX error counter. > */ > -struct cpc_can_err_counter { > +struct __packed cpc_can_err_counter { please make this a separate patch. > u8 rx; > u8 tx; > }; > @@ -296,10 +296,11 @@ struct __packed ems_cpc_msg { > }; > > /* Table of devices that work with this driver > - * NOTE: This driver supports only CPC-USB/ARM7 (LPC2119) yet. > + * This driver supports CPC-USB/ARM7 and CPC-USB/FD. > */ > static struct usb_device_id ems_usb_table[] = { > {USB_DEVICE(USB_CPCUSB_VENDOR_ID, USB_CPCUSB_ARM7_PRODUCT_ID)}, > + {USB_DEVICE(USB_CPCUSB_VENDOR_ID, USB_CPCUSB_FD_PRODUCT_ID)}, > {} /* Terminating entry */ > }; > > 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: OpenPGP digital signature