summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-04 00:45:41 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-04 00:45:41 +0100
commitc892f66346d9da6835befc9aa37e07d6f2de248c (patch)
tree8f2c44284860b6cc1d6164ca158bbe67be6e8c3a
parent8e0b2221d6ba3f04483e4afadc4b99a6f39f1c59 (diff)
downloadldd3-c892f66346d9da6835befc9aa37e07d6f2de248c.tar.gz
shortprint: Remove struct pt_regs argument from shortp_interrupt handler
-rw-r--r--shortprint/shortprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shortprint/shortprint.c b/shortprint/shortprint.c
index 17eebeb..9168aeb 100644
--- a/shortprint/shortprint.c
+++ b/shortprint/shortprint.c
@@ -359,7 +359,7 @@ static void shortp_do_work(void *unused)
/*
* The top-half interrupt handler.
*/
-static irqreturn_t shortp_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t shortp_interrupt(int irq, void *dev_id)
{
if (! shortp_output_active)
return IRQ_NONE;
@@ -395,7 +395,7 @@ static void shortp_timeout(unsigned long unused)
/* Otherwise we must have dropped an interrupt. */
spin_unlock_irqrestore(&shortp_out_lock, flags);
- shortp_interrupt(shortp_irq, NULL, NULL);
+ shortp_interrupt(shortp_irq, NULL);
}