Re: "leds: Add openfirmware platform device support" breaks sparc
From: David Miller <davem@davemloft.net>
Date: 2009-03-04 00:37:31
Also in:
sparclinux
From: David Miller <davem@davemloft.net>
Date: 2009-03-04 00:37:31
Also in:
sparclinux
From: Sean MacLennan <redacted> Date: Tue, 3 Mar 2009 19:29:32 -0500
It has been..... uhhhh carry the two... longer than I want to admit since I worked on a sparc. Would GPIO based LEDS make sense on a sparc platform? Is sparc used much in the embedded world? If yes, the of_register_platform_driver is just a nice wrapper. It would be trivial to either change it to work on sparc, or add the wrapper to the sparc includes.
We generally create the platform devices by hand for LED devices on sparc64. I'd CONFIG_POWERPC depend this thing for now.