Thread (65 messages) flat view 65 messages, 10 authors, 2011-07-19
STALE5546d

[PATCH 16/17] mach-sa1100: retire custom LED code

From: Russell King - ARM Linux <hidden>
Date: 2011-07-11 21:09:50

On Mon, Jul 11, 2011 at 10:36:49PM +0800, Bryan Wu wrote:
Right, I got it. So if we are going to run a single binary for all the
sa1100 machines, how about we check the machine in each fs_initcall

static int __init assabet_leds_init(void)
{
 ? ? int i;

     if (!machine_is_assabet())
          return -ENODEV,

 ? ? for (i = 0; i < ARRAY_SIZE(assabet_leds); i++) {
 ? ? ? ? ? ? struct assabet_led *led;
Yes, that'll do, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help