Commit f2912563 authored by David S. Miller's avatar David S. Miller Committed by Greg Kroah-Hartman

hsi: Fix build regression due to netdev destructor fix.

commit ed66e50d upstream.

> ../drivers/hsi/clients/ssi_protocol.c:1069:5: error: 'struct net_device' has no member named 'destructor'
Reported-by: default avatarMark Brown <broonie@kernel.org>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a5afcf85
...@@ -1065,7 +1065,7 @@ static void ssip_pn_setup(struct net_device *dev) ...@@ -1065,7 +1065,7 @@ static void ssip_pn_setup(struct net_device *dev)
dev->addr_len = 1; dev->addr_len = 1;
dev->tx_queue_len = SSIP_TXQUEUE_LEN; dev->tx_queue_len = SSIP_TXQUEUE_LEN;
dev->destructor = free_netdev; dev->needs_free_netdev = true;
dev->header_ops = &phonet_header_ops; dev->header_ops = &phonet_header_ops;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment