allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / arch / arm / mach-imx / leds.c
blobcf30803e019be4329202d8744736d1a9b8d5bd66
1 /*
2 * linux/arch/arm/mach-imx/leds.c
4 * Copyright (C) 2004 Sascha Hauer <sascha@saschahauer.de>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
13 #include <linux/kernel.h>
14 #include <linux/init.h>
16 #include <asm/leds.h>
17 #include <asm/mach-types.h>
19 #include "leds.h"
21 static int __init
22 leds_init(void)
24 if (machine_is_mx1ads()) {
25 leds_event = mx1ads_leds_event;
28 return 0;
31 __initcall(leds_init);