summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-06-02 20:43:55 +0000
committerDavid S. Miller <davem@davemloft.net>2013-06-04 16:47:27 -0700
commit430f03cde2fb9596d8b562824471e298a8080df9 (patch)
treecd99f4df3a8c020b2899d39ac842f36f830d49b9 /net/core
parentf1362e378ab27844f968f1f390e33b6c77861ec0 (diff)
net: mark netdev_create_hash __net_init
netdev_create_hash() is only called from netdev_init() which is marked __net_init. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index d4d874a25e4..9c18557f93c 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -6088,7 +6088,7 @@ netdev_features_t netdev_increment_features(netdev_features_t all,
}
EXPORT_SYMBOL(netdev_increment_features);
-static struct hlist_head *netdev_create_hash(void)
+static struct hlist_head * __net_init netdev_create_hash(void)
{
int i;
struct hlist_head *hash;