Commit ed66e50d authored by David S. Miller's avatar David S. Miller

hsi: Fix build regression due to netdev destructor fix.

> ../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>
parent cd1997f6
...@@ -1066,7 +1066,7 @@ static void ssip_pn_setup(struct net_device *dev) ...@@ -1066,7 +1066,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