This header file should not be included in other header files. Remove it from each one and use a forward declaration instead. Signed-off-by: Simon Glass <sjg@chromium.org>
@@ -8,9 +8,6 @@
#ifndef _MSCC_JR2_H_
#define _MSCC_JR2_H_
-#include <linux/bitops.h>
-#include <dm.h>
-
/*
* Target offset base(s)
*/
#ifndef _MSCC_OCELOT_H_
#define _MSCC_OCELOT_H_
#ifndef _MSCC_SERVAL_H_
#define _MSCC_SERVAL_H_
#ifndef _MSCC_SERVALT_H_
#define _MSCC_SERVALT_H_
@@ -9,6 +9,8 @@
#include <asm/io.h>
#include <led.h>
+DECLARE_GLOBAL_DATA_PTR;
+
enum {
BOARD_TYPE_PCB116 = 0xAABBCE00,
};