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 14803e32b12f5a85ba6abb4bd0c0dea5c2bccf45..5acfa5f0e492b558bcc77f4cd9c0ca30d27e5f55 100644 (file)
@@ -7,8 +7,6 @@
 #include <common.h>
 #include <dm.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct simple_bus_plat {
        u32 base;
        u32 size;