Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: gdm72xx: usb_ids: fix a macro coding style error

Fix a macro with complex value coding style error.

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Raphaël Beamonte and committed by
Greg Kroah-Hartman
5a447f4c 435009bb

+5 -1
+5 -1
drivers/staging/gdm72xx/usb_ids.h
··· 32 32 #define BL_PID_MASK 0xffc0 33 33 34 34 #define USB_DEVICE_BOOTLOADER(vid, pid) \ 35 - {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD)}, \ 35 + {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD)} 36 + 37 + #define USB_DEVICE_BOOTLOADER_DRV(vid, pid) \ 36 38 {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD|B_DIFF_DL_DRV)} 37 39 38 40 #define USB_DEVICE_CDC_DATA(vid, pid) \ ··· 42 40 43 41 static const struct usb_device_id id_table[] = { 44 42 USB_DEVICE_BOOTLOADER(GCT_VID, GCT_PID1), 43 + USB_DEVICE_BOOTLOADER_DRV(GCT_VID, GCT_PID1), 45 44 USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1), 46 45 USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x1), 47 46 USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x2), ··· 61 58 USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0xf), 62 59 63 60 USB_DEVICE_BOOTLOADER(GCT_VID, GCT_PID2), 61 + USB_DEVICE_BOOTLOADER_DRV(GCT_VID, GCT_PID2), 64 62 USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2), 65 63 USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x1), 66 64 USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x2),