diff options
author | David S. Miller <davem@davemloft.net> | 2017-06-08 16:16:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-08 16:16:05 +0200 |
commit | ed66e50d9587fc0bb032e276a2563c0068a5b63a (patch) | |
tree | e298af729cb8b641d98c134dd01ac484527e98a6 /drivers/hsi | |
parent | net: s390: fix up for "Fix inconsistent teardown and release of private netde... (diff) | |
download | linux-ed66e50d9587fc0bb032e276a2563c0068a5b63a.tar.xz linux-ed66e50d9587fc0bb032e276a2563c0068a5b63a.zip |
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: Mark Brown <broonie@kernel.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hsi')
-rw-r--r-- | drivers/hsi/clients/ssi_protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hsi/clients/ssi_protocol.c b/drivers/hsi/clients/ssi_protocol.c index 26b05106f0d3..93d28c0ec8bf 100644 --- a/drivers/hsi/clients/ssi_protocol.c +++ b/drivers/hsi/clients/ssi_protocol.c @@ -1066,7 +1066,7 @@ static void ssip_pn_setup(struct net_device *dev) dev->addr_len = 1; dev->tx_queue_len = SSIP_TXQUEUE_LEN; - dev->destructor = free_netdev; + dev->needs_free_netdev = true; dev->header_ops = &phonet_header_ops; } |