Commit 0756f8d7 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: adl_pci9111: rename CamelCase parameters

Rename the CamelCase parameters of plx9050_interrupt_control().
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 262a07ac
......@@ -124,21 +124,21 @@ struct pci9111_private_data {
};
static void plx9050_interrupt_control(unsigned long io_base,
bool LINTi1_enable,
bool LINTi1_active_high,
bool LINTi2_enable,
bool LINTi2_active_high,
bool int1_enable,
bool int1_active_high,
bool int2_enable,
bool int2_active_high,
bool interrupt_enable)
{
int flags = 0;
if (LINTi1_enable)
if (int1_enable)
flags |= PLX9052_INTCSR_LI1ENAB;
if (LINTi1_active_high)
if (int1_active_high)
flags |= PLX9052_INTCSR_LI1POL;
if (LINTi2_enable)
if (int2_enable)
flags |= PLX9052_INTCSR_LI2ENAB;
if (LINTi2_active_high)
if (int2_active_high)
flags |= PLX9052_INTCSR_LI2POL;
if (interrupt_enable)
......
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