Skip to content

Commit e9308cf

Browse files
committed
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
2 parents 4800829 + 25fcf2b commit e9308cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/gpio/gpio-omap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ struct gpio_bank {
3434
u16 irq;
3535
u16 virtual_irq_start;
3636
int method;
37-
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP2PLUS)
3837
u32 suspend_wakeup;
38+
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP2PLUS)
3939
u32 saved_wakeup;
4040
#endif
4141
u32 non_wakeup_gpios;

drivers/gpio/gpio-pca953x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, int *invert)
577577
void
578578
pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, int *invert)
579579
{
580+
*gpio_base = -1;
580581
}
581582
#endif
582583

0 commit comments

Comments
 (0)