projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
50228c5
)
ntb_netdev: remove init/exit from probe/remove
author
Jon Mason
<jon.mason@intel.com>
Sat, 19 Jan 2013 09:02:30 +0000
(
02:02
-0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 20 Jan 2013 23:48:13 +0000
(15:48 -0800)
Remove init/exit from probe/remove routines to correct warnings of
"Section mismatch".
Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ntb_netdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/ntb_netdev.c
b/drivers/net/ntb_netdev.c
index 4e52fd2b8226034ffb2da7d0583a9e65cb4533fb..0d4a6ee5a7f06f3f27e7dbc0b6b928fd1c03db13 100644
(file)
--- a/
drivers/net/ntb_netdev.c
+++ b/
drivers/net/ntb_netdev.c
@@
-373,7
+373,7
@@
err:
return rc;
}
return rc;
}
-static void
__exit
ntb_netdev_remove(struct pci_dev *pdev)
+static void ntb_netdev_remove(struct pci_dev *pdev)
{
struct net_device *ndev;
struct ntb_netdev *dev;
{
struct net_device *ndev;
struct ntb_netdev *dev;