summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorChen Gang <xili_gchen_5257@hotmail.com>2015-04-05 12:25:44 +0800
committerJonathan Corbet <corbet@lwn.net>2015-05-07 09:35:14 -0600
commit4ae711f4a37bff6cf501b48d58f9e28b031b02c9 (patch)
treea9f604073a1aa05b9fcd7198dec357eedeb0089b /firmware
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff)
downloadop-kernel-dev-4ae711f4a37bff6cf501b48d58f9e28b031b02c9.zip
op-kernel-dev-4ae711f4a37bff6cf501b48d58f9e28b031b02c9.tar.gz
Docs: blackfin: Use new switch macro SAMPLE_IRQ_TIMER instead of IRQ_TIMER5
Not all blackfin machines support IRQ_TIMER5, but all machines support IRQ_TIMER2. So add a switch macro for them. The related error: Documentation/blackfin/gptimers-example.c: In function 'gptimer_example_init': Documentation/blackfin/gptimers-example.c:60:20: error: 'IRQ_TIMER5' undeclared (first use in this function) ret = request_irq(IRQ_TIMER5, gptimer_example_irq, IRQF_SHARED, DRIVER_NAME, &data); ^ Documentation/blackfin/gptimers-example.c:60:20: note: each undeclared identifier is reported only once for each function it appears in Documentation/blackfin/gptimers-example.c: In function 'gptimer_example_exit': Documentation/blackfin/gptimers-example.c:78:11: error: 'IRQ_TIMER5' undeclared (first use in this function) free_irq(IRQ_TIMER5, &data); ^ Also notice about 80 columns limitation. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud