From 5eb94bbe6b7eb0f4fb96b0d0667370dcea582e4c Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Fri, 17 Oct 2003 10:11:55 -0700 Subject: [PATCH] [NET]: Undo deprecation of init_etherdev, we will add it back once all in-tree drivers are fixed. --- include/linux/etherdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index 9cba9322d8503..416017dc39271 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h @@ -39,7 +39,7 @@ extern int eth_header_cache(struct neighbour *neigh, extern int eth_header_parse(struct sk_buff *skb, unsigned char *haddr); extern struct net_device *__init_etherdev(struct net_device *dev, int sizeof_priv); -static inline __deprecated struct net_device *init_etherdev(struct net_device *dev, +static inline struct net_device *init_etherdev(struct net_device *dev, int sizeof_priv) { return __init_etherdev(dev, sizeof_priv); -- 2.53.0