From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 25 Aug 2011 05:02:09 +0000 (+1000)
Subject: rtl8192e: update for ndo_set_multicast_list removal.
X-Git-Tag: firefly_0821_release~3680^2~4313^2^2~864^2~14^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=faae60d232df564ee5e88237fd816a6d3719a8c0;p=firefly-linux-kernel-4.4.55.git

rtl8192e: update for ndo_set_multicast_list removal.

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/staging/rtl8192e/rtl_core.c:2917:2: error: unknown field 'ndo_set_multicast_list' specified in initializer

Caused by commit 94a799425eee ("From: wlanfae <wlanfae@realtek.com>" -
really "[PATCH 1/8] rtl8192e: Import new version of driver from realtek"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
---

diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c
index 9bc20f0ba399..2d7bb511c3c1 100644
--- a/drivers/staging/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl_core.c
@@ -2867,7 +2867,7 @@ static const struct net_device_ops rtl8192_netdev_ops = {
 	.ndo_stop = rtl8192_close,
 	.ndo_tx_timeout = rtl8192_tx_timeout,
 	.ndo_do_ioctl = rtl8192_ioctl,
-	.ndo_set_multicast_list = r8192_set_multicast,
+	.ndo_set_rx_mode = r8192_set_multicast,
 	.ndo_set_mac_address = r8192_set_mac_adr,
 	.ndo_validate_addr = eth_validate_addr,
 	.ndo_change_mtu = eth_change_mtu,