From: Tony Zelenoff Date: Tue, 5 Jun 2012 13:58:04 +0000 (+0400) Subject: USB: mos7840: Fix compilation of usb serial driver X-Git-Tag: v3.5-rc3~11^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9c87663eead64c767e72a373ae6f8a94bead459;p=pandora-kernel.git 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 Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed