summaryrefslogtreecommitdiff
path: root/drivers/usb/class
diff options
context:
space:
mode:
authorYann Droneaud <ydroneaud@opteya.com>2013-08-18 21:29:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-18 13:11:06 -0700
commit68c91d377c9bd14cbe35c647ed3b847f7862c958 (patch)
treeb5dd49d5ee7f15df352f22cc19378be79002d149 /drivers/usb/class
parent66591015d88d0b7fc88da79e2054830094ace4c9 (diff)
downloadlinux-rt-68c91d377c9bd14cbe35c647ed3b847f7862c958.tar.gz
USB: serial: fix stringify operator in usb-serial-simple
usb-serial-simple uses an unknown stringify macro that make all drivers being named "stringify(vendor)". This can be a problem when two drivers have the same (wrong) name: kernel: usbcore: registered new interface driver usb_serial_simple kernel: usbserial: USB Serial support registered for stringify(vendor) kernel Error: Driver 'stringify(vendor)' is already registered, aborting... kernel: usbserial: problem -16 when registering driver stringify(vendor) kernel: usbserial: USB Serial deregistering driver stringify(vendor) kernel: usbcore: deregistering interface driver usb_serial_simple Before the fix: $ strings drivers/usb/serial/usb-serial-simple.o usb_serial_simple stringify(vendor) After the fix: $ strings drivers/usb/serial/usb-serial-simple.o usb_serial_simple funsoft flashloader vivopay moto_modem hp4x suunto siemens_mpi This patch makes usb-serial-simple use the correct stringify operator. Signed-off-by: Yann Droneaud <ydroneaud@opteya.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions