[U-Boot] [PATCH] simple-bus: remove DECLARE_GLOBAL_DATA_PTR and <common.h>

Masahiro Yamada yamada.masahiro at socionext.com
Fri Oct 13 10:28:50 UTC 2017


Both are unneeded in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 drivers/core/simple-bus.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index 14803e3..cc48c8b 100644
--- a/drivers/core/simple-bus.c
+++ b/drivers/core/simple-bus.c
@@ -4,11 +4,8 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 
-#include <common.h>
 #include <dm.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct simple_bus_plat {
 	u32 base;
 	u32 size;
-- 
2.7.4



More information about the U-Boot mailing list