]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mscc: Drop dm.h header file
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 16:15:51 +0000 (10:15 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 4 Aug 2020 02:19:54 +0000 (22:19 -0400)
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>
arch/mips/mach-mscc/include/mach/jr2/jr2.h
arch/mips/mach-mscc/include/mach/luton/luton.h
arch/mips/mach-mscc/include/mach/ocelot/ocelot.h
arch/mips/mach-mscc/include/mach/serval/serval.h
arch/mips/mach-mscc/include/mach/servalt/servalt.h
board/mscc/servalt/servalt.c

index 67244f63fadf82ade5f569fa765206baca3c3837..3a779e7035493ee9165070d89d47d1c8d60600e2 100644 (file)
@@ -8,9 +8,6 @@
 #ifndef _MSCC_JR2_H_
 #define _MSCC_JR2_H_
 
-#include <linux/bitops.h>
-#include <dm.h>
-
 /*
  * Target offset base(s)
  */
index 19f02ede666542fc0109af5da3a826d761ba6615..dda665fc154f3a963fb2dc93a201a227491d2a09 100644 (file)
@@ -8,9 +8,6 @@
 #ifndef _MSCC_OCELOT_H_
 #define _MSCC_OCELOT_H_
 
-#include <linux/bitops.h>
-#include <dm.h>
-
 /*
  * Target offset base(s)
  */
index 2cb2135d374ab3416891cb0279ef091c4c3b3f41..72b07c33cd0afb5f05a6bdf55aab4e4ec07ec863 100644 (file)
@@ -8,9 +8,6 @@
 #ifndef _MSCC_OCELOT_H_
 #define _MSCC_OCELOT_H_
 
-#include <linux/bitops.h>
-#include <dm.h>
-
 /*
  * Target offset base(s)
  */
index 763d18fe62910d3cc116e6a45e4922be6b7c35e5..a78c6e59bb05c70dea14a831189ba21b3582ec4c 100644 (file)
@@ -8,9 +8,6 @@
 #ifndef _MSCC_SERVAL_H_
 #define _MSCC_SERVAL_H_
 
-#include <linux/bitops.h>
-#include <dm.h>
-
 /*
  * Target offset base(s)
  */
index 9015bc7dad96e61c5fff1af8a954bfa7992ac939..4d7d0886dd69d222dd4092b17d64248f6678a998 100644 (file)
@@ -8,9 +8,6 @@
 #ifndef _MSCC_SERVALT_H_
 #define _MSCC_SERVALT_H_
 
-#include <linux/bitops.h>
-#include <dm.h>
-
 /*
  * Target offset base(s)
  */
index d0e6016b9affc07b776b878185bfea9223aecc25..879f5de5067533ce580b6451773838a6adc51539 100644 (file)
@@ -9,6 +9,8 @@
 #include <asm/io.h>
 #include <led.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 enum {
        BOARD_TYPE_PCB116 = 0xAABBCE00,
 };