simple-bus: remove DECLARE_GLOBAL_DATA_PTR
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 17 Oct 2017 08:37:14 +0000 (17:37 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 23 Oct 2017 21:25:40 +0000 (17:25 -0400)
No global pointer is used in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/core/simple-bus.c

index 14803e3..5acfa5f 100644 (file)
@@ -7,8 +7,6 @@
 #include <common.h>
 #include <dm.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct simple_bus_plat {
        u32 base;
        u32 size;