On 10/30/10 3:38 PM, Florian Fainelli wrote:
Le Friday 15 October 2010 19:18:44, Philip Prindeville a écrit :
Trying the following patch, but it's not building the module. What am I
missing?
Looking closer at the Kconfig dependencies, we should have:
LEDS_GPIO_PLATFORM and GPIO_CS5535 enabled for LEDS_NET5501 to be selectable.
But LEDS_GPIO can be selected only when the architecture defines
CONFIG_GENERIC_GPIO, which is not the case with the current kernel
configuration.
The other problem is that the default CS5535 GPIO implementation is the one in
drivers/char/ instead of the gpiolib in drivers/gpio/ the leds driver relies
on. After changing all of these you can successfully build leds-net5501.
Applied in r23729.
--
Florian
Ok, tried the latest image...
# insmod leds-net5501
leds_net5501: Unknown symbol platform_device_register (err 0)
insmod: can't insert 'leds-net5501': unknown symbol in module, or unknown
parameter
#
What are we missing?
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel