Re : leds driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Maybe you don't need to write a driver at all and can use the leds-gpio
>driver as well?

Do you have an example ?

>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.

No, I was thinking that the struct inside the driver was enough. I will look this point tomorrow.

Thanks

Patrick


      

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux