提交 497b46db 编写于 作者: F Fengguang Wu 提交者: Greg Kroah-Hartman

drivers: uio: mf624_disable_interrupt() can be static

Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NRostislav Lisovy <lisovy@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 6d3e0d0c
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
enum mf624_interrupt_source {ADC, CTR4, ALL}; 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) struct uio_info *info)
{ {
void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR; void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR;
...@@ -70,7 +70,7 @@ void mf624_disable_interrupt(enum mf624_interrupt_source source, ...@@ -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) struct uio_info *info)
{ {
void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR; void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册