]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
serial/arc-uart: Fix section mistmatch
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Wed, 16 Jan 2013 08:17:23 +0000 (13:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 01:20:09 +0000 (17:20 -0800)
commit795b5bbe215c7b988fcf218613d2f3357924f0d2
tree682fb50d3aff4ce10b85728551c362f3282a27ce
parentac4ce718893c546f7a2d34ab55a8f75842399f86
serial/arc-uart: Fix section mistmatch

Commit "serial/arc-uart: split probe from probe_earlyprintk" introduced
a build time warning:

"WARNING: vmlinux.o(.data+0x5baa0): Section mismatch in reference from
the variable early_arc_platform_driver to the function
.init.text:arc_serial_probe_earlyprintk()"

While at it - fixed another incorrectly placed initdata annotation.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: fengguang.wu@intel.com
Cc: linux-serial@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/arc_uart.c