summaryrefslogtreecommitdiff
path: root/sound/soc/soc-ac97.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-09 22:16:42 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-01-13 16:00:32 +0100
commitc474e348778bdf5b453a2cdff4b2b1f9e000f343 (patch)
tree03d274f88046f77e1cab6bf9eca73eba6493710b /sound/soc/soc-ac97.c
parent96098df125c0a966631ec114081d8f5630a0e4b8 (diff)
downloadlinux-c474e348778bdf5b453a2cdff4b2b1f9e000f343.tar.gz
gpio: generic: make bgpio_pdata always visible
Board files that define their own bgpio_pdata are broken when CONFIG_GPIO_GENERIC is disabled and the bgpio_pdata structure definition is hidden by the #ifdef: arch/arm/mach-clps711x/board-autcpu12.c:148:15: error: variable 'autcpu12_mmgpio_pdata' has initializer but incomplete type static struct bgpio_pdata autcpu12_mmgpio_pdata __initdata = { arch/arm/mach-clps711x/board-autcpu12.c:149:2: error: unknown field 'base' specified in initializer .base = AUTCPU12_MMGPIO_BASE, Since the board files should generally not care what drivers are enabled, this makes the structure definition visible again. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 0f4630f3720e ("gpio: generic: factor into gpio_chip struct") Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'sound/soc/soc-ac97.c')
0 files changed, 0 insertions, 0 deletions