projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7a416
)
[PATCH] pnp: suppress request_irq() warning
author
Andrew Morton
<
[email protected]
>
Sat, 1 Jul 2006 11:36:37 +0000
(
04:36
-0700)
committer
Linus Torvalds
<
[email protected]
>
Sat, 1 Jul 2006 16:56:04 +0000
(09:56 -0700)
Suppress the "setup_irq: irq handler mismatch" coming out of pnp_check_irq():
failures are expected here.
Cc: <
[email protected]
>
Cc: Santiago Garcia Mantinan <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/pnp/resource.c
patch
|
blob
|
history
diff --git
a/drivers/pnp/resource.c
b/drivers/pnp/resource.c
index e7cf6bec737ecf1d71e44102146a842370c1398b..9fefe563f8fc5bf27ee1a66c23fef4a65ef3be74 100644
(file)
--- a/
drivers/pnp/resource.c
+++ b/
drivers/pnp/resource.c
@@
-395,7
+395,8
@@
int pnp_check_irq(struct pnp_dev * dev, int idx)
/* check if the resource is already in use, skip if the
* device is active because it itself may be in use */
if(!dev->active) {
- if (request_irq(*irq, pnp_test_handler, SA_INTERRUPT, "pnp", NULL))
+ if (request_irq(*irq, pnp_test_handler,
+ SA_INTERRUPT|SA_PROBEIRQ, "pnp", NULL))
return 0;
free_irq(*irq, NULL);
}