From 05af050e9f1d6c120744e0e7a683d9b0be886d28 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 16 Jan 2017 07:03:37 -0700 Subject: 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 Reviewed-by: Bin Meng --- drivers/video/ivybridge_igd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/video/ivybridge_igd.c') 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 #include +DECLARE_GLOBAL_DATA_PTR; + struct gt_powermeter { u16 reg; u32 value; -- cgit v1.1