2013-09-02 08:38:36

by Rostislav Lisovy

[permalink] [raw]
Subject: [PATCH] drivers: uio: mf624_disable_interrupt() can be static

From: Fengguang Wu <[email protected]>

Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Rostislav Lisovy <[email protected]>
---
drivers/uio/uio_mf624.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/uio/uio_mf624.c b/drivers/uio/uio_mf624.c
index a1768b2..92cf6a9 100644
--- a/drivers/uio/uio_mf624.c
+++ b/drivers/uio/uio_mf624.c
@@ -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;
--
1.7.10.4