diff options
Diffstat (limited to 'drivers/net/ifb.c')
-rw-r--r-- | drivers/net/ifb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ifb.c b/drivers/net/ifb.c index 363a166df8fb..60a263001933 100644 --- a/drivers/net/ifb.c +++ b/drivers/net/ifb.c | |||
@@ -138,15 +138,15 @@ resched: | |||
138 | } | 138 | } |
139 | 139 | ||
140 | static const struct net_device_ops ifb_netdev_ops = { | 140 | static const struct net_device_ops ifb_netdev_ops = { |
141 | .ndo_validate_addr = eth_validate_addr, | ||
142 | .ndo_open = ifb_open, | 141 | .ndo_open = ifb_open, |
143 | .ndo_stop = ifb_close, | 142 | .ndo_stop = ifb_close, |
143 | .ndo_start_xmit = ifb_xmit, | ||
144 | .ndo_validate_addr = eth_validate_addr, | ||
144 | }; | 145 | }; |
145 | 146 | ||
146 | static void ifb_setup(struct net_device *dev) | 147 | static void ifb_setup(struct net_device *dev) |
147 | { | 148 | { |
148 | /* Initialize the device structure. */ | 149 | /* Initialize the device structure. */ |
149 | dev->hard_start_xmit = ifb_xmit; | ||
150 | dev->destructor = free_netdev; | 150 | dev->destructor = free_netdev; |
151 | dev->netdev_ops = &ifb_netdev_ops; | 151 | dev->netdev_ops = &ifb_netdev_ops; |
152 | 152 | ||