[PATCH 1/1] staging/stlc45xx: Fix compile error

Greg KH greg at kroah.com
Thu Oct 15 03:11:38 UTC 2009


On Wed, Oct 14, 2009 at 11:03:45PM -0400, Javier Martinez Canillas wrote:
> I got the following compile error with today linux-next tree.
> 
> drivers/staging/stlc45xx/stlc45xx.c: In function ‘stlc45xx_reset’:
> drivers/staging/stlc45xx/stlc45xx.c:1061: error: ‘struct ieee80211_hw’ has no member named ‘workqueue’
> drivers/staging/stlc45xx/stlc45xx.c: In function ‘stlc45xx_interrupt’:
> drivers/staging/stlc45xx/stlc45xx.c:1492: error: ‘struct ieee80211_hw’ has no member named ‘workqueue’
> drivers/staging/stlc45xx/stlc45xx.c: In function ‘stlc45xx_wq_tx’:
> drivers/staging/stlc45xx/stlc45xx.c:1571: error: ‘struct ieee80211_hw’ has no member named ‘workqueue’
> drivers/staging/stlc45xx/stlc45xx.c: In function ‘stlc45xx_op_tx’:
> drivers/staging/stlc45xx/stlc45xx.c:2135: error: ‘struct ieee80211_hw’ has no member named ‘workqueue’
> drivers/staging/stlc45xx/stlc45xx.c: At top level:
> drivers/staging/stlc45xx/stlc45xx.c:2351: warning: initialization from incompatible pointer type
> 
> The driver was trying to access directly to mac80211 workqueue. Use the helper functions instead. 
> 
> I think this patch solves the issue. Also fix a compile warning due a change in configure_filter() handler params.

Ah, good catch, I had that driver disabled in my builds for some stupid
reason.  I'll queue this up in my tree.

thanks,

greg k-h



More information about the devel mailing list