USB: mos7840: Fix compilation of usb serial driver
authorTony Zelenoff <antonz@parallels.com>
Tue, 5 Jun 2012 13:58:04 +0000 (17:58 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 23:09:50 +0000 (16:09 -0700)
commitb9c87663eead64c767e72a373ae6f8a94bead459
tree695ba90991013316eb70053943d2a90134ae7cc3
parentb9c3aab315b51f81649a0d737c4c73783fbd8de0
USB: mos7840: Fix compilation of usb serial driver

The __devinitconst section can't be referenced
from usb_serial_device structure. Thus removed it as
it done in other mos* device drivers.

Error itself:
WARNING: drivers/usb/serial/mos7840.o(.data+0x8): Section mismatch in reference
from the variable moschip7840_4port_device to the variable
.devinit.rodata:id_table
The variable moschip7840_4port_device references
the variable __devinitconst id_table

[v2] no attach now

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7840.c