diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2017-11-21 15:04:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-27 09:20:34 +0100 |
commit | 4d5f022f3a664ee5987118b754058ff31df03835 (patch) | |
tree | 2a95096b190dd0faa25854524e9dacd4d22ad659 /drivers/staging/most/net | |
parent | 2c22cdfb4e817a7be48419c3c7b1423ee8f5df38 (diff) |
staging: most: remove proprietary kobjects
This patch removes the proprietary kobjects used by the driver modules and
replaces them with device structs. The patch is needed to have the driver
being integrated into the kernel's device model.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/net')
-rw-r--r-- | drivers/staging/most/net/net.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/most/net/net.c b/drivers/staging/most/net/net.c index 3cbd403aa516..a9323e4afad7 100644 --- a/drivers/staging/most/net/net.c +++ b/drivers/staging/most/net/net.c @@ -291,8 +291,7 @@ static struct net_dev_context *get_net_dev_hold(struct most_interface *iface) } static int aim_probe_channel(struct most_interface *iface, int channel_idx, - struct most_channel_config *ccfg, - struct kobject *parent, char *name) + struct most_channel_config *ccfg, char *name) { struct net_dev_context *nd; struct net_dev_channel *ch; |