Commit 497b46db authored by Fengguang Wu's avatar Fengguang Wu Committed by Greg Kroah-Hartman

drivers: uio: mf624_disable_interrupt() can be static

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarRostislav Lisovy <lisovy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment