diff options
author | Tony Zelenoff <antonz@parallels.com> | 2012-06-05 17:58:04 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-22 11:34:14 -0700 |
commit | 0812bcc788bd35514632c5ddd58ccc858df1cf97 (patch) | |
tree | c380c1598c2573fb44a6c6c74fccf27f886c38e7 /drivers | |
parent | 482a7756a282b7873dcba9441504a32354317d49 (diff) | |
download | kernel_samsung_smdk4412-0812bcc788bd35514632c5ddd58ccc858df1cf97.tar.gz kernel_samsung_smdk4412-0812bcc788bd35514632c5ddd58ccc858df1cf97.tar.bz2 kernel_samsung_smdk4412-0812bcc788bd35514632c5ddd58ccc858df1cf97.zip |
USB: mos7840: Fix compilation of usb serial driver
commit b9c87663eead64c767e72a373ae6f8a94bead459 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/mos7840.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 32575196cbf..fdbeb6a0e90 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -206,7 +206,7 @@ static const struct usb_device_id moschip_port_id_table[] = { {} /* terminating entry */ }; -static const struct usb_device_id moschip_id_table_combined[] __devinitconst = { +static const struct usb_device_id moschip_id_table_combined[] = { {USB_DEVICE(USB_VENDOR_ID_MOSCHIP, MOSCHIP_DEVICE_ID_7840)}, {USB_DEVICE(USB_VENDOR_ID_MOSCHIP, MOSCHIP_DEVICE_ID_7820)}, {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USO9ML2_2)}, |