git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ixgbe: Cleanup incorrect header comments
[safe/jmp/linux-2.6]
/
drivers
/
char
/
hvc_irq.c
diff --git
a/drivers/char/hvc_irq.c
b/drivers/char/hvc_irq.c
index
73a59cd
..
2623e17
100644
(file)
--- a/
drivers/char/hvc_irq.c
+++ b/
drivers/char/hvc_irq.c
@@
-37,8
+37,13
@@
int notifier_add_irq(struct hvc_struct *hp, int irq)
void notifier_del_irq(struct hvc_struct *hp, int irq)
{
- if (!
irq
)
+ if (!
hp->irq_requested
)
return;
free_irq(irq, hp);
hp->irq_requested = 0;
}
+
+void notifier_hangup_irq(struct hvc_struct *hp, int irq)
+{
+ notifier_del_irq(hp, irq);
+}