mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 07:08:07 +00:00
drivers: uio: mf624_disable_interrupt() can be static
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>
This commit is contained in:
parent
6d3e0d0c1c
commit
497b46dbc6
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue