aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/gpio.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/gpio.h b/arch/arm/mach-davinci/include/mach/gpio.h
index ebcc29babeae..4f032b38cd6e 100644
--- a/arch/arm/mach-davinci/include/mach/gpio.h
+++ b/arch/arm/mach-davinci/include/mach/gpio.h
@@ -78,6 +78,8 @@ __gpio_to_controller(unsigned gpio)
78 ptr = base + 0x60; 78 ptr = base + 0x60;
79 else if (gpio < 32 * 4) 79 else if (gpio < 32 * 4)
80 ptr = base + 0x88; 80 ptr = base + 0x88;
81 else if (gpio < 32 * 5)
82 ptr = base + 0xb0;
81 else 83 else
82 ptr = NULL; 84 ptr = NULL;
83 return ptr; 85 return ptr;