[-mm patch] make uio_irq_handler() static

From: Adrian Bunk
Date: Sat Dec 16 2006 - 08:57:30 EST


On Thu, Dec 14, 2006 at 10:59:13PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.19-mm1:
>...
> +gregkh-driver-uio-irq.patch
>
> driver tree updates
>...

This patch makes the needlessly global uio_irq_handler() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.20-rc1-mm1/drivers/uio/uio_irq.c.old 2006-12-15 22:23:23.000000000 +0100
+++ linux-2.6.20-rc1-mm1/drivers/uio/uio_irq.c 2006-12-15 22:33:40.000000000 +0100
@@ -22,7 +22,7 @@

static struct uio_device *uio_irq_idev;

-irqreturn_t uio_irq_handler(int irq, void *dev_id)
+static irqreturn_t uio_irq_handler(int irq, void *dev_id)
{
return IRQ_HANDLED;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/