aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2013-03-30 11:34:03 +0800
committerAndy Green <andy.green@linaro.org>2013-03-30 11:34:03 +0800
commitbe73dd2af331447e95ef6c83c84e1c0344a33685 (patch)
tree59edd057c8d6ffbbf904834479c7c9f377a9cba0
parenta1e811fdf29082e822f9565c848d6adcbb6fdfea (diff)
update kernel driver for 3.9 rc3HEADmaster
Signed-off-by: Andy Green <andy.green@linaro.org>
-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 }
};