From 0568dd0663429b00fb77c452e27434c2f4faa14b Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Tue, 12 Jul 2016 20:28:16 +0200 Subject: armv7: make gpmc_cfg const Signed-off-by: Ladislav Michl [trini: Adapt am33xx, duovero, omap_zoom1] Signed-off-by: Tom Rini Signed-off-by: Tom Rini --- board/logicpd/zoom1/zoom1.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'board/logicpd') diff --git a/board/logicpd/zoom1/zoom1.c b/board/logicpd/zoom1/zoom1.c index 982619cd7b..2821ee2267 100644 --- a/board/logicpd/zoom1/zoom1.c +++ b/board/logicpd/zoom1/zoom1.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -29,10 +30,10 @@ DECLARE_GLOBAL_DATA_PTR; -/* gpmc_cfg is initialized by gpmc_init and we use it here */ -extern struct gpmc *gpmc_cfg; - -/* GPMC definitions for Ethenet Controller LAN9211 */ +/* + * gpmc_cfg is initialized by gpmc_init and we use it here. + * GPMC definitions for Ethenet Controller LAN9211 + */ static const u32 gpmc_lab_enet[] = { ZOOM1_ENET_GPMC_CONF1, ZOOM1_ENET_GPMC_CONF2, -- cgit v1.2.1