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-08 00:54:37 +0100
commit27a1005a86a809dbb48829edad0c59723f571ee3 (patch)
treea47f238c69267d3a52abc200002a6aacd6206dc9
parent03c545f9a74be052e0b2f2bdeaf4a40d125ac908 (diff)
downloadldd3-27a1005a86a809dbb48829edad0c59723f571ee3.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);
}