Commit b3a1d183 authored by Russell King's avatar Russell King

[SERIAL] Remove some old compatibility cruft from 8250_pci.c

8250_pci.c contains some old compatibility cruft for when __devexit
wasn't defined by the generic kernel.  It is now, so it's gone.
parent 04c34016
...@@ -1103,14 +1103,6 @@ static struct pci_device_id serial_pci_tbl[] __devinitdata = { ...@@ -1103,14 +1103,6 @@ static struct pci_device_id serial_pci_tbl[] __devinitdata = {
{ 0, } { 0, }
}; };
#ifndef __devexit_p
#if defined(MODULE) || defined(CONFIG_HOTPLUG)
#define __devexit_p(x) x
#else
#define __devexit_p(x) NULL
#endif
#endif
static struct pci_driver serial_pci_driver = { static struct pci_driver serial_pci_driver = {
.name = "serial", .name = "serial",
.probe = pci_init_one, .probe = pci_init_one,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment