PAtrick Gerber, 03.02.2009: > Hello, > > I am developping an embedded system based on a ARM PXA270. I am using > 2.6.27 kernel. > > I have developped a tiny led driver for my embedded kernel based on > leds class. My driver is almost identical as the leds-cm-x270.c This driver has been removed after 2.6.27, see commit 85b064b66400abf626b0e9754118c2a8a212c19b Maybe you don't need to write a driver at all and can use the leds-gpio driver as well? > driver. When I insert my driver in the kernel the probe function is > never called. So I have nothing in /sys/class/leds. Do you have any > idea why ? Have you adjusted your board code? You have to add a struct platform_device, so that the kernel knows that and on which pins you have LEDs. Markus -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ