summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2012-03-25 20:32:49 +0530
committerGrant Likely <grant.likely@secretlab.ca>2012-04-17 16:37:22 -0600
commit766644d2df254934d656a0a0628b636212c24f9e (patch)
treede96ad3f99802de7df67fa6203ce373a5d62e7bf /include/scsi
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e (diff)
downloadlinux-stable-766644d2df254934d656a0a0628b636212c24f9e.tar.gz
linux-stable-766644d2df254934d656a0a0628b636212c24f9e.tar.bz2
linux-stable-766644d2df254934d656a0a0628b636212c24f9e.zip
of/irq: add empty irq_of_parse_and_map() for non-dt builds
Add a empty irq_of_parse_and_map() function that returns 0 for non-dt builds and avoid having #ifdef CONFIG_OF around all calls to irq_of_parse_and_map(). In addition to that, the irq_of_parse_and_map() function declaration is made available only if CONFIG_OF_IRQ is defined, which is the same config option that makes the irq_of_parse_and_map() function definition available. While at it, fix a typo as well. Changes since v1: - Moved irq_of_parse_and_map() function declaration under CONFIG_OF_IRQ. - Fix a minor typo in comments. Suggested-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Rob Herring <rob.herring@calxeda.com> [grant.likely: fix bug causing SPARC to break] Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions