Revision f43e04ec46b67071d432fc3f368dc9891a3443e5 authored by Arnd Bergmann on 13 August 2012, 14:36:10 UTC, committed by Linus Torvalds on 14 August 2012, 04:50:36 UTC
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>
1 parent 3bf671a
History
File Mode Size
.gitignore -rw-r--r-- 25 bytes
Kconfig -rw-r--r-- 2.8 KB
Makefile -rw-r--r-- 2.1 KB
audit.c -rw-r--r-- 12.0 KB
common.c -rw-r--r-- 75.1 KB
common.h -rw-r--r-- 40.1 KB
condition.c -rw-r--r-- 26.8 KB
domain.c -rw-r--r-- 24.7 KB
environ.c -rw-r--r-- 3.0 KB
file.c -rw-r--r-- 28.9 KB
gc.c -rw-r--r-- 16.7 KB
group.c -rw-r--r-- 5.6 KB
load_policy.c -rw-r--r-- 2.6 KB
memory.c -rw-r--r-- 5.4 KB
mount.c -rw-r--r-- 6.6 KB
network.c -rw-r--r-- 21.3 KB
realpath.c -rw-r--r-- 7.8 KB
securityfs_if.c -rw-r--r-- 7.5 KB
tomoyo.c -rw-r--r-- 14.6 KB
util.c -rw-r--r-- 27.1 KB

back to top