diff options
author | 2012-08-13 14:36:10 +0000 | |
---|---|---|
committer | 2012-08-14 07:50:36 +0300 | |
commit | f43e04ec46b67071d432fc3f368dc9891a3443e5 (patch) | |
tree | 2378409c84f43ae86fdb6c12951e78b144683190 /lib/mpi/mpi-bit.c | |
parent | Merge branch 'fixes-for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds (diff) | |
download | linux-dev-f43e04ec46b67071d432fc3f368dc9891a3443e5.tar.xz linux-dev-f43e04ec46b67071d432fc3f368dc9891a3443e5.zip |
GPIO: gpio-pxa: fix building without CONFIG_OF
Commit 7212157267 ("GPIO: gpio-pxa: fix devicetree functions") added an
"xlate" function pointer to the irq_domain_ops, but this function is nor
declared or defined anywhere when CONFIG_OF is disabled, causing the
build error:
drivers/gpio/gpio-pxa.c:532:11: error: 'irq_domain_xlate_twocell' undeclared here (not in a function)
Extending the DT-only code section to cover the irq_domain_ops and the
pxa_gpio_dt_ids solves this problem and makes it clearer which code is
actually used without DT.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions