Re: [RFC PATCH] d80211: fix build break from netdev class_device -> device changes
From: John W. Linville <hidden>
Date: 2007-02-21 13:51:40
From: John W. Linville <hidden>
Date: 2007-02-21 13:51:40
On Wed, Feb 21, 2007 at 11:45:16AM +0100, Johannes Berg wrote:
On Tue, 2007-02-20 at 19:58 -0500, John W. Linville wrote:quoted
In preparation for 2.6.21-rc1, I pulled Linus' latest tree into a branch of wireless-dev. I hit a build problem with the sysfs stuff, due to the recent changes from class_device -> device for net_device.Hmm, need to look up the reason and see if wiphy stuff should follow.
Exactly what I was thinking, and what made me question the patch's completeness...
quoted
Since I don't count sysfs as a strength, I thought it was worth posting this for some review before I actually pulled Linus' latest into wireless-dev and slapped this on top of it... :-) Comments?Seems fine. Is to_net_dev() defined in netdevice.h now?
Ja.
OTOH, we might want to take this opportunity and move it all to debugfs ;)
Excellent suggestion. But for now, I just want my tree to build and run... :-) Thanks for the eyeballs! John -- John W. Linville linville@tuxdriver.com