]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
soc: ti: knav_qmss_queue: change knav_range_setup_acc_irq to static
authorMurali Karicheri <m-karicheri2@ti.com>
Thu, 29 Jan 2015 21:23:51 +0000 (13:23 -0800)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 29 Jan 2015 21:23:51 +0000 (13:23 -0800)
knav_range_setup_acc_irq() is used only within the file and should
be defined as static.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
drivers/soc/ti/knav_qmss_acc.c

index 6fbfde6e748f3e7c84947f8cde3c55e1ed993819..ef6f69db0bd04c06caa6c1b955e3dbbebc91677a 100644 (file)
@@ -209,7 +209,7 @@ static irqreturn_t knav_acc_int_handler(int irq, void *_instdata)
        return IRQ_HANDLED;
 }
 
-int knav_range_setup_acc_irq(struct knav_range_info *range,
+static int knav_range_setup_acc_irq(struct knav_range_info *range,
                                int queue, bool enabled)
 {
        struct knav_device *kdev = range->kdev;