mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 8250_pci.c build fix
@ 2004-05-10 23:14 Ralf Baechle
  0 siblings, 0 replies; only message in thread
From: Ralf Baechle @ 2004-05-10 23:14 UTC (permalink / raw)
  To: Russell King; +Cc: linux-kernel

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)
 	},
 
 	/*

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-10 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-10 23:14 [PATCH] 8250_pci.c build fix Ralf Baechle

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

all inboxes | Powered by JetHome®