Commit 9e0ad6f4 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_stc.h: tidy up DAC_FIFO_Data register

Rename the CamelCase.
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 b497b8da
......@@ -1032,7 +1032,7 @@ static void ni_ao_fifo_load(struct comedi_device *dev,
}
ni_writel(dev, packed_data, DAC_FIFO_Data_611x);
} else {
ni_writew(dev, d, DAC_FIFO_Data);
ni_writew(dev, d, NI_E_AO_FIFO_DATA_REG);
}
}
}
......
......@@ -642,7 +642,7 @@ static inline unsigned GPCT_DMA_Select_Mask(unsigned gpct_index)
#define NI_E_AI_FIFO_DATA_REG 0x1c /* r16 */
#define DAC_FIFO_Data 0x1e
#define NI_E_AO_FIFO_DATA_REG 0x1e /* w16 */
#define DAC0_Direct_Data 0x18
#define DAC1_Direct_Data 0x1a
......
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