diff options
author | Tony Lindgren <tony@atomide.com> | 2013-10-19 03:20:05 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-10-19 03:43:06 +0400 |
commit | 1b9c0fb365cbb1154f4e7997061db972cbf58300 (patch) | |
tree | 2c5219cd0eed70e5fa6e141b8e1b5daa7dc08184 /crypto | |
parent | dc7743aa3c49fabbc6dc9edbcf7df74d776ac32e (diff) | |
download | linux-1b9c0fb365cbb1154f4e7997061db972cbf58300.tar.xz |
pinctrl: single: Fix build when not built on ARM
Looks like we need a little bit of arch specific handling
with the generic IRQ. Fix the issue with an ifdef the
same way as other drivers do.
ARM needs things set to IRQF_VALID, which also then sets
noprobe. Others seem to use just irq_set_noprobe().
Otherwise we can get:
drivers/pinctrl/pinctrl-single.c: In function 'pcs_irqdomain_map':
drivers/pinctrl/pinctrl-single.c:1750:2: error: implicit declaration of function 'set_irq_flags' [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-single.c:1750:21: error: 'IRQF_VALID' undeclared (first use in this function)
drivers/pinctrl/pinctrl-single.c:1750:34: error: 'IRQF_PROBE' undeclared (first use in this function)
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions