lkml.org 
[lkml]   [2004]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 8250_pci.c build fix
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.112 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site