Commit 8d7f0412 authored by Russell King's avatar Russell King

[SERIAL] Fix exit function pointer initialisers

This wraps pointer initialisers to functions marked __devexit with
__devexit_p.
parent 3dc567d8
......@@ -704,7 +704,7 @@ static struct pci_serial_quirk pci_serial_quirks[] = {
.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 @@ static struct pci_serial_quirk pci_serial_quirks[] = {
.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 @@ static struct pci_serial_quirk pci_serial_quirks[] = {
.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 @@ static struct pci_serial_quirk pci_serial_quirks[] = {
.subdevice = PCI_SUBDEVICE_ID_POCTAL422,
.init = sbs_init,
.setup = sbs_setup,
.exit = sbs_exit
.exit = __devexit_p(sbs_exit),
},
/*
......
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