summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-09-04 17:43:30 -0700
committerTony Lindgren <tony@atomide.com>2012-09-12 18:06:30 -0700
commita940d9a1cb2ea0833421fd57e47f8ce2a6d9953b (patch)
tree3d63abb69913246bb8805a1b8b313668e648e943 /include/linux/i2c
parent714df7b8abafa8de4830412cc88fd9415d9bb86a (diff)
downloadblackbird-obmc-linux-a940d9a1cb2ea0833421fd57e47f8ce2a6d9953b.tar.gz
blackbird-obmc-linux-a940d9a1cb2ea0833421fd57e47f8ce2a6d9953b.zip
ARM: OMAP2+: Remove hardcoded twl4030 gpio_base, irq_base and irq_end
We can't use hardcoded interrupts for SPARSE_IRQ, and can replace the hardcoded gpio_base with twl_gpiochip.base after it's been allocated. Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Samuel Ortiz <sameo@linux.intel.com> Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/twl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index 7ea898c55a60..a12a38107c1a 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -561,9 +561,6 @@ struct twl4030_bci_platform_data {
/* TWL4030_GPIO_MAX (18) GPIOs, with interrupts */
struct twl4030_gpio_platform_data {
- int gpio_base;
- unsigned irq_base, irq_end;
-
/* package the two LED signals as output-only GPIOs? */
bool use_leds;
OpenPOWER on IntegriCloud