drivers/net/wireless/scsc/netif.c: In function 'slsi_if_setup':
drivers/net/wireless/scsc/netif.c:1031:5: error: 'struct net_device' has no member named 'destructor'
dev->destructor = free_netdev;
Change-Id: I8e910880ba32a501a61bc82f7877f9c859f4a0de
SCSC-Bug-Id: SSB-40175
Signed-off-by: Tarun Karela <t.karela@samsung.com>
-/*****************************************************************************
+/*
*
* Copyright (c) 2012 - 2018 Samsung Electronics Co., Ltd. All rights reserved
*
{
ether_setup(dev);
dev->netdev_ops = &slsi_netdev_ops;
- dev->destructor = free_netdev;
+ dev->priv_destructor = free_netdev;
}
static int slsi_netif_add_locked(struct slsi_dev *sdev, const char *name, int ifnum)