Commit e9308cfd authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6

* 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6:
  gpio-pca953x: fix gpio_base
  gpio/omap: fix build error with certain OMAP1 configs
parents 48008296 25fcf2b7
...@@ -34,8 +34,8 @@ struct gpio_bank { ...@@ -34,8 +34,8 @@ struct gpio_bank {
u16 irq; u16 irq;
u16 virtual_irq_start; u16 virtual_irq_start;
int method; int method;
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP2PLUS)
u32 suspend_wakeup; u32 suspend_wakeup;
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP2PLUS)
u32 saved_wakeup; u32 saved_wakeup;
#endif #endif
u32 non_wakeup_gpios; u32 non_wakeup_gpios;
......
...@@ -577,6 +577,7 @@ pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, int *invert) ...@@ -577,6 +577,7 @@ pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, int *invert)
void void
pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, int *invert) pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, int *invert)
{ {
*gpio_base = -1;
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment