[ARM] footbridge: dc21285.c warning fixes
commit0dc6c490c0e2b81af32db3851040c109f7b3a54b
authorBen Dooks <ben-linux@fluff.org>
Thu, 8 Jan 2009 15:42:42 +0000 (8 15:42 +0000)
committerBen Dooks <ben-linux@fluff.org>
Thu, 8 Jan 2009 15:53:08 +0000 (8 15:53 +0000)
tree5bbbcfa401d53fd7e1229e45891f638b67c2faf3
parent39ebfd3f0d58a89f29097f99a1de50c096375ee2
[ARM] footbridge: dc21285.c warning fixes

The dc21285 requests a number of IRQs that it doesn't really
care whether they get added. Change to use a macro that ensures
that at-least the user gets warned if they fail to add, which
also stops the warnings from __unused_result on request_irq().

dc21285.c:337: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result
dc21285.c:339: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result
dc21285.c:341: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result
dc21285.c:343: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result
dc21285.c:345: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-footbridge/dc21285.c