drivers: uio: mf624_disable_interrupt() can be static
authorFengguang Wu <fengguang.wu@intel.com>
Mon, 2 Sep 2013 08:38:33 +0000 (10:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 15:45:42 +0000 (08:45 -0700)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_mf624.c

index a1768b2f449395b1f58220cbb649bc76ee5d42ce..92cf6a9f68713d87f88dfa735106e0581ad19118 100644 (file)
@@ -42,7 +42,7 @@
 
 enum mf624_interrupt_source {ADC, CTR4, ALL};
 
-void mf624_disable_interrupt(enum mf624_interrupt_source source,
+static void mf624_disable_interrupt(enum mf624_interrupt_source source,
                             struct uio_info *info)
 {
        void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR;
@@ -70,7 +70,7 @@ void mf624_disable_interrupt(enum mf624_interrupt_source source,
        }
 }
 
-void mf624_enable_interrupt(enum mf624_interrupt_source source,
+static void mf624_enable_interrupt(enum mf624_interrupt_source source,
                            struct uio_info *info)
 {
        void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR;