wlcore: drop INET dependency
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 25 Jun 2012 02:17:00 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Jun 2012 19:14:13 +0000 (15:14 -0400)
commitff0b804632f025b072f81fc0cd585102b0a43534
treeccebb6664c19d38b19022bd15ef696f99356a1d6
parentbed3d9c0b71f9afbfec905cb6db3b9f16be29d4d
wlcore: drop INET dependency

Mainline build reports:

warning: (WL12XX) selects WLCORE which has unmet direct dependencies (NETDEVICES && WLAN && WL_TI && GENERIC_HARDIRQS && MAC80211 && INET)

The INET dependency was added in commit
3c6af5b54fe74b6e56efadc22927e4055d00e9fc:
    wl1271_main.c:(.text+0x271052): undefined reference to `unregister_inetaddr_
notifier'
    wl1271_main.c:(.text+0x2714d7): undefined reference to `register_inetaddr_no
tifier'

    Driver is doing some filtering based on IP addresses...

but this driver no longer has that code and it builds fine even when
CONFIG_INET is not enabled, so drop that dependency and eliminate the
kconfig warning message.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Luciano Coelho <luciano.coelho@nokia.com>
Cc: John W. Linville <linville@tuxdriver.com>
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wlcore/Kconfig