[PATCH] 8250_pci.c build fix

From: Ralf Baechle
Date: Mon May 10 2004 - 18:21:16 EST


The changes between 2.6.6-rc3 and 2.6.6 broke static compliation of
8250_pci.c. Obvious fix below.

Ralf

Index: drivers/serial/8250_pci.c
===================================================================
RCS file: /home/cvs/linux/drivers/serial/8250_pci.c,v
retrieving revision 1.18
diff -u -r1.18 8250_pci.c
--- drivers/serial/8250_pci.c 10 May 2004 14:25:34 -0000 1.18
+++ drivers/serial/8250_pci.c 10 May 2004 23:09:21 -0000
@@ -704,7 +704,7 @@
.subdevice = PCI_SUBDEVICE_ID_OCTPRO232,
.init = sbs_init,
.setup = sbs_setup,
- .exit = sbs_exit
+ .exit = __devexit_p(sbs_exit)
},
/*
* SBS Technologies, Inc., PMC-OCTALPRO 422
@@ -716,7 +716,7 @@
.subdevice = PCI_SUBDEVICE_ID_OCTPRO422,
.init = sbs_init,
.setup = sbs_setup,
- .exit = sbs_exit
+ .exit = __devexit_p(sbs_exit)
},
/*
* SBS Technologies, Inc., P-Octal 232
@@ -728,7 +728,7 @@
.subdevice = PCI_SUBDEVICE_ID_POCTAL232,
.init = sbs_init,
.setup = sbs_setup,
- .exit = sbs_exit
+ .exit = __devexit_p(sbs_exit)
},
/*
* SBS Technologies, Inc., P-Octal 422
@@ -740,7 +740,7 @@
.subdevice = PCI_SUBDEVICE_ID_POCTAL422,
.init = sbs_init,
.setup = sbs_setup,
- .exit = sbs_exit
+ .exit = __devexit_p(sbs_exit)
},

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/