Re: leds driver

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

 



PAtrick Gerber, 03.02.2009:
> >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 ?

No, but I'm sure you can find examples in the source tree.

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

Just had a look at your driver. Apparently the hardware specific pins
are directly included and there is already a platform (pxa?) you can
build on, ok.

Markus


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