drivers/staging/rt2860 doesn't compile
drivers/staging/rt2860/common/cmm_info.c: In function 'RTMPIoctlGetSiteSurvey':drivers/staging/rt2860/common/cmm_info.c:1817: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) drivers/staging/rt2860/common/cmm_info.c:1817: error: (Each undeclared identifier is reported only once drivers/staging/rt2860/common/cmm_info.c:1817: error: for each function it appears in.)drivers/staging/rt2860/common/cmm_info.c:1817: error: implicit declaration of function 'signal_pending' drivers/staging/rt2860/common/cmm_info.c:1817: error: implicit declaration of function 'schedule_timeout'
drivers/staging/rt2860/rt_linux.h doesn't include <linux/sched.h>. It includes <linux/interrupt.h>, which included <linux/sched.h> until d43c36dc6b357fa1806800f18aa30123c747a6d1
Signature · 1 line
WBR, wRAR (ALT Linux Team)
Even after trivial fix (including <linux/sched.h> into drivers/staging/rt2860/rt_linux.h) the driver doesn't compile:
drivers/staging/rt2860/rt_main_dev.c: In function 'rt_ieee80211_if_setup':drivers/staging/rt2860/rt_main_dev.c:691: error: 'struct net_device' has no member named 'wireless_handlers'
Signature · 1 line
WBR, wRAR (ALT Linux Team)
Quoted 6 lines · Andrey Rahmatullin
Even after trivial fix (including <
linux/sched.h> intodrivers/staging/rt2860/rt_linux.h) the driver doesn't compile:
drivers/staging/rt2860/rt_main_dev.c: In function 'rt_ieee80211_if_setup':drivers/staging/rt2860/rt_main_dev.c:691: error: 'structnet_device' has no member named 'wireless_handlers'
This is already fixed in my tree.
thanks,
greg k-h
Quoted 6 lines · Andrey Rahmatullin
Even after trivial fix (including <
linux/sched.h> intodrivers/staging/rt2860/rt_linux.h) the driver doesn't compile:
drivers/staging/rt2860/rt_main_dev.c: In function 'rt_ieee80211_if_setup':drivers/staging/rt2860/rt_main_dev.c:691: error: 'structnet_device' has no member named 'wireless_handlers'
For the archives: it just means that CONFIG_WIRELESS_EXT should be enabled.
Signature · 1 line
WBR, wRAR (ALT Linux Team)
Quoted 2 lines
For the archives: it just means that
CONFIG_WIRELESS_EXTshould be enabled.
Which means the driver should probably do "select WIRELESS_EXT" in Kconfig. Would be an easy patch to send if you can test it....
Quoted 3 lines · Roland Dreier
Quoted 1 line
For the archives: it just means that
CONFIG_WIRELESS_EXTshould be enabled.Which means the driver should probably do "select
WIRELESS_EXT" inKconfig.
Yes.
Quoted 1 line
Would be an easy patch to send if you can test it....
Of course I can :)
Signature · 1 line
WBR, wRAR (ALT Linux Team)