aboutsummaryrefslogtreecommitdiff
path: root/fmb_driver/fmb_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'fmb_driver/fmb_hw.c')
-rw-r--r--fmb_driver/fmb_hw.c6
1 files 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 }
};