From be73dd2af331447e95ef6c83c84e1c0344a33685 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 30 Mar 2013 11:34:03 +0800 Subject: update kernel driver for 3.9 rc3 Signed-off-by: Andy Green --- fmb_driver/fmb_hw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fmb_driver/fmb_hw.c b/fmb_driver/fmb_hw.c index 7ab15ba..c955299 100644 --- a/fmb_driver/fmb_hw.c +++ b/fmb_driver/fmb_hw.c @@ -1286,7 +1286,7 @@ static struct file_operations fmb_fops = * @attention None */ -static int __devinit fmb_hw_probe(struct pci_dev* pci_p, const struct pci_device_id* pci_id_p) +static int __init fmb_hw_probe(struct pci_dev* pci_p, const struct pci_device_id* pci_id_p) { int minor; @@ -1385,7 +1385,7 @@ static int __devinit fmb_hw_probe(struct pci_dev* pci_p, const struct pci_device * @note None * @attention None */ -static void __devexit fmb_hw_remove(struct pci_dev* pci_p) +static void __exit fmb_hw_remove(struct pci_dev* pci_p) { int minor; struct fmb_hard_private* priv_p; @@ -1421,7 +1421,7 @@ static void __devexit fmb_hw_remove(struct pci_dev* pci_p) /*----------------------------------------------------------------------------*/ /* Registration processing to PCI bus driver */ /*----------------------------------------------------------------------------*/ -static struct pci_device_id s_Fmb_hw_pci_tbl[] __devinitdata = { +static struct pci_device_id s_Fmb_hw_pci_tbl[] __initdata = { { FMB_PCI_VENDOR_ID, FMB_PCI_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, { 0 } }; -- cgit v1.2.3