leds_missing_include.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. From 52422e37bb199fa5c62881cdf26c687aa692d063 Mon Sep 17 00:00:00 2001
  2. From: Jeroen Hofstee <jeroen@myspectrum.nl>
  3. Date: Wed, 8 Oct 2014 22:57:53 +0200
  4. Subject: [PATCH] leds: missing include
  5. Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
  6. ---
  7. arch/arm/cpu/arm926ejs/at91/led.c | 1 +
  8. arch/arm/lib/board.c | 1 +
  9. board/atmel/at91rm9200ek/led.c | 1 +
  10. board/atmel/at91sam9260ek/led.c | 1 +
  11. 4 files changed, 4 insertions(+)
  12. diff --git a/arch/arm/cpu/arm926ejs/at91/led.c b/arch/arm/cpu/arm926ejs/at91/led.c
  13. index 46ed055..b8d5c78 100644
  14. --- a/arch/arm/cpu/arm926ejs/at91/led.c
  15. +++ b/arch/arm/cpu/arm926ejs/at91/led.c
  16. @@ -9,6 +9,7 @@
  17. #include <common.h>
  18. #include <asm/gpio.h>
  19. #include <asm/arch/gpio.h>
  20. +#include <status_led.h>
  21. #ifdef CONFIG_RED_LED
  22. void red_led_on(void)
  23. diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
  24. index 98782ca..f606255 100644
  25. --- a/arch/arm/lib/board.c
  26. +++ b/arch/arm/lib/board.c
  27. @@ -34,6 +34,7 @@
  28. #include <nand.h>
  29. #include <onenand_uboot.h>
  30. #include <mmc.h>
  31. +#include <status_led.h>
  32. #include <libfdt.h>
  33. #include <fdtdec.h>
  34. #include <post.h>
  35. diff --git a/board/atmel/at91rm9200ek/led.c b/board/atmel/at91rm9200ek/led.c
  36. index 2298e36..6761b14 100644
  37. --- a/board/atmel/at91rm9200ek/led.c
  38. +++ b/board/atmel/at91rm9200ek/led.c
  39. @@ -14,6 +14,7 @@
  40. #include <asm/arch/hardware.h>
  41. #include <asm/arch/at91_pmc.h>
  42. #include <asm/arch/at91_pio.h>
  43. +#include <status_led.h>
  44. /* bit mask in PIO port B */
  45. #define GREEN_LED (1<<0)
  46. diff --git a/board/atmel/at91sam9260ek/led.c b/board/atmel/at91sam9260ek/led.c
  47. index 56d811c..fbe15af 100644
  48. --- a/board/atmel/at91sam9260ek/led.c
  49. +++ b/board/atmel/at91sam9260ek/led.c
  50. @@ -9,6 +9,7 @@
  51. #include <common.h>
  52. #include <asm/io.h>
  53. #include <asm/arch/gpio.h>
  54. +#include <status_led.h>
  55. void coloured_LED_init(void)
  56. {