summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-16 07:03:37 -0700
committerBin Meng <bmeng.cn@gmail.com>2017-02-06 11:38:46 +0800
commit05af050e9f1d6c120744e0e7a683d9b0be886d28 (patch)
tree8eb9a388794b102cf18cb1a972a819809398b553 /drivers
parente71ffd0951f4e8dd7c43a34a3fdc4be10f29db41 (diff)
downloadu-boot-imx-05af050e9f1d6c120744e0e7a683d9b0be886d28.zip
u-boot-imx-05af050e9f1d6c120744e0e7a683d9b0be886d28.tar.gz
u-boot-imx-05af050e9f1d6c120744e0e7a683d9b0be886d28.tar.bz2
x86: ivybridge: Declare global data where it is used
Some files are missing this declaration. Add it to avoid build errors when we actually need the declaration. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/ivybridge_igd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/ivybridge_igd.c b/drivers/video/ivybridge_igd.c
index 94db3dd..95d62a5 100644
--- a/drivers/video/ivybridge_igd.c
+++ b/drivers/video/ivybridge_igd.c
@@ -18,6 +18,8 @@
#include <asm/arch/pch.h>
#include <asm/arch/sandybridge.h>
+DECLARE_GLOBAL_DATA_PTR;
+
struct gt_powermeter {
u16 reg;
u32 value;