public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][2.5] pci_siig* interdependence
@ 2002-11-28  8:39 Zwane Mwaikambo
  2002-11-29  8:51 ` Andrey Panin
  0 siblings, 1 reply; 3+ messages in thread
From: Zwane Mwaikambo @ 2002-11-28  8:39 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Russell King

Hi Russell,
This patch is to fix a compilation problem (functions are shared with
parport_serial) as well as fix a potential oops (parport_serial as module
would try and reference the freed memory)

Russell am i missing something?

Index: linux-2.5.50/drivers/serial/8250_pci.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.50/drivers/serial/8250_pci.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 8250_pci.c
--- linux-2.5.50/drivers/serial/8250_pci.c	28 Nov 2002 01:34:30 -0000	1.1.1.1
+++ linux-2.5.50/drivers/serial/8250_pci.c	28 Nov 2002 05:08:38 -0000
@@ -267,7 +267,7 @@
 #define PCI_DEVICE_ID_SIIG_1S_10x (PCI_DEVICE_ID_SIIG_1S_10x_550 & 0xfffc)
 #define PCI_DEVICE_ID_SIIG_2S_10x (PCI_DEVICE_ID_SIIG_2S_10x_550 & 0xfff8)

-static int __devinit pci_siig10x_fn(struct pci_dev *dev, int enable)
+int pci_siig10x_fn(struct pci_dev *dev, int enable)
 {
 	u16 data, *p;

@@ -298,7 +298,7 @@
 #define PCI_DEVICE_ID_SIIG_2S_20x (PCI_DEVICE_ID_SIIG_2S_20x_550 & 0xfffc)
 #define PCI_DEVICE_ID_SIIG_2S1P_20x (PCI_DEVICE_ID_SIIG_2S1P_20x_550 & 0xfffc)

-static int __devinit pci_siig20x_fn(struct pci_dev *dev, int enable)
+int pci_siig20x_fn(struct pci_dev *dev, int enable)
 {
 	u8 data;

-- 
function.linuxpower.ca

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-29 10:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28  8:39 [PATCH][2.5] pci_siig* interdependence Zwane Mwaikambo
2002-11-29  8:51 ` Andrey Panin
2002-11-29 10:16   ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox