The problem was that inside my .config file I also had # CONFIG_NEW_LEDS is not set And CONFIG_NEW_LEDS=y And for some reason, it seems that when I compiled the kernel, it parsed the first line also. After I removed the part that said that it is not set, I had no problems with ath5k. Razvan A. Lupusoru -----Original Message----- From: bcopeland@xxxxxxxxx [mailto:bcopeland@xxxxxxxxx] On Behalf Of Bob Copeland Sent: Monday, August 18, 2008 7:43 AM To: Lupusoru, Razvan A Cc: linux-wireless@xxxxxxxxxxxxxxx Subject: Re: Ath5k missing led_classdev On Wed, Aug 13, 2008 at 1:28 PM, Lupusoru, Razvan A <razvan.a.lupusoru@xxxxxxxxx> wrote: > Hello, > > I compiled the package compat-wireless-2008-08-06 against 2.6.23 kernel. > After it is done compiling, I get some warnings. The relevant ones are: > WARNING: "led_classdev_register" > [/kernel2623/compat-wireless-2008-08-06/drivers/net/wireless/ath5k/ath5k > .ko] undefined! > WARNING: "led_classdev_unregister" > [/kernel2623/compat-wireless-2008-08-06/drivers/net/wireless/ath5k/ath5k > .ko] undefined! > > What options in the kernel do I need to enable to get rid of these > warnings? I try to "modprobe ath5k" but it tells me it is missing those > so it cannot load. CONFIG_LEDS_CLASS should provide those symbols. Are you still having that issue after installing the kernel? The Kconfig for the in-tree version selects MAC80211_LEDS, LEDS_CLASS, and NEW_LEDS (and by extension LEDS_TRIGGERS). I suppose ath5k should be able to configure all of the LED stuff out like other drivers; I only didn't do that because there wasn't a knob before and I didn't want to add new ifdefs to base.c. -- Bob Copeland %% www.bobcopeland.com -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html