projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf90cc
)
net: fix section mismatch in fec.c
author
Steven King
<sfking@fdwdc.com>
Wed, 21 Oct 2009 01:51:37 +0000
(18:51 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 21 Oct 2009 01:51:37 +0000
(18:51 -0700)
fec_enet_init is called by both fec_probe and fec_resume, so it
shouldn't be marked as __init.
Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/fec.c
b/drivers/net/fec.c
index 29234380e6c68b02369d9c30c8e87826fa2b088e..16a1d58419d985788de253cd85018124d7b5b253 100644
(file)
--- a/
drivers/net/fec.c
+++ b/
drivers/net/fec.c
@@
-1654,7
+1654,7
@@
static const struct net_device_ops fec_netdev_ops = {
*
* index is only used in legacy code
*/
-
int __ini
t fec_enet_init(struct net_device *dev, int index)
+
static in
t fec_enet_init(struct net_device *dev, int index)
{
struct fec_enet_private *fep = netdev_priv(dev);
struct bufdesc *cbd_base;