prism54: set netdev type to "wlan"
authorDan Williams <dcbw@redhat.com>
Fri, 8 Nov 2013 19:39:44 +0000 (13:39 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:05 +0000 (10:57 -0800)
commitad03714db9cd8085abbf03891db70daf3cfdcb8b
treeff331eac5f1124165c46ff2d6a2b238037fc2ea7
parent378c1677f76df7f3b9c65cdd839a18e922d389d7
prism54: set netdev type to "wlan"

commit 8e3ffa471091c560deb6738ed9ab7445b7a5fd04 upstream.

Userspace uses the netdev devtype for stuff like device naming and type
detection.  Be nice and set it.  Remove the pointless #if/#endif around
SET_NETDEV_DEV too.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/prism54/islpci_dev.c