[Skiboot] [PATCH 04/22] FSP/LEDS: Remove unnecessary header files

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu Feb 5 19:38:39 AEDT 2015


Remove enthusiastic use of defines in FSP/LEDS code.

...like hdata.h which is not expected to be used outside hdata dir.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hw/fsp/fsp-leds.c |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c
index 5b121d6..bc1e626 100644
--- a/hw/fsp/fsp-leds.c
+++ b/hw/fsp/fsp-leds.c
@@ -19,17 +19,10 @@
  * LED location code and indicator handling
  */
 #include <skiboot.h>
-#include <processor.h>
-#include <io.h>
 #include <fsp.h>
-#include <console.h>
-#include <timebase.h>
 #include <device.h>
-#include <stdio.h>
 #include <spcn.h>
-#include <timebase.h>
-#include <hdata/spira.h>
-#include <hdata/hdata.h>
+#include <lock.h>
 #include <errorlog.h>
 
 #include "fsp-leds.h"



More information about the Skiboot mailing list