aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorSimon Glass2015-07-31 09:31:31 -0600
committerSimon Glass2015-08-05 08:42:41 -0600
commit8b097916faa20f04ff4b0147ebcf0331204ec96b (patch)
treeea4ff098a55f25f620a3e3265637fc3ed3377a59 /drivers/gpio
parent0bc74ab3e694643cb070ed055964fa2a73d300af (diff)
x86: Add some missing global_data declarations in files that use gd
Some files use global_data but don't declare it. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/intel_ich6_gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/intel_ich6_gpio.c b/drivers/gpio/intel_ich6_gpio.c
index 8a108f3805a..cb408a413e6 100644
--- a/drivers/gpio/intel_ich6_gpio.c
+++ b/drivers/gpio/intel_ich6_gpio.c
@@ -35,6 +35,8 @@
#include <asm/io.h>
#include <asm/pci.h>
+DECLARE_GLOBAL_DATA_PTR;
+
#define GPIO_PER_BANK 32
struct ich6_bank_priv {