diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-01-08 15:42:42 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-01-08 15:53:08 +0000 |
commit | 0dc6c490c0e2b81af32db3851040c109f7b3a54b (patch) | |
tree | 5bbbcfa401d53fd7e1229e45891f638b67c2faf3 /block | |
parent | 39ebfd3f0d58a89f29097f99a1de50c096375ee2 (diff) |
[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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions