leds.c 560 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * linux/arch/arm/mach-imx/leds.h
  3. *
  4. * Copyright (C) 2004 Sascha Hauer <sascha@saschahauer.de>
  5. *
  6. *
  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.
  10. *
  11. */
  12. #include <linux/kernel.h>
  13. #include <linux/init.h>
  14. #include <asm/leds.h>
  15. #include <asm/mach-types.h>
  16. #include "leds.h"
  17. static int __init
  18. leds_init(void)
  19. {
  20. if (machine_is_mx1ads()) {
  21. leds_event = mx1ads_leds_event;
  22. }
  23. return 0;
  24. }
  25. __initcall(leds_init);