aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-08-31 02:56:31 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-31 04:42:23 -0400
commitf79abb828e1d851387def4247eb3f9477fe03234 (patch)
tree928460760317074ae77698a45a7b8b585b165e71
parentcb109a0eb44cea24e83e7176473011fa41507b8b (diff)
Fix modpost warning in serial driver
This is triggered if PCI && !HOTPLUG. MODPOST vmlinux.o WARNING: vmlinux.o(.data+0xc910): Section mismatch: reference to .init.text:pci_ite887x_init (between 'pci_serial_quirks' and 'serial_pci_tbl') Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/serial/8250_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c
index bd66339f7a3f..1ea1ed82c352 100644
--- a/drivers/serial/8250_pci.c
+++ b/drivers/serial/8250_pci.c
@@ -610,7 +610,7 @@ static int pci_netmos_init(struct pci_dev *dev)
610/* enable IO_Space bit */ 610/* enable IO_Space bit */
611#define ITE_887x_POSIO_ENABLE (1 << 31) 611#define ITE_887x_POSIO_ENABLE (1 << 31)
612 612
613static int __devinit pci_ite887x_init(struct pci_dev *dev) 613static int pci_ite887x_init(struct pci_dev *dev)
614{ 614{
615 /* inta_addr are the configuration addresses of the ITE */ 615 /* inta_addr are the configuration addresses of the ITE */
616 static const short inta_addr[] = { 0x2a0, 0x2c0, 0x220, 0x240, 0x1e0, 616 static const short inta_addr[] = { 0x2a0, 0x2c0, 0x220, 0x240, 0x1e0,