staging: comedi: ni_stc.h: tidy up DAC_FIFO_Data register
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 May 2015 22:00:00 +0000 (15:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 May 2015 17:05:17 +0000 (19:05 +0200)
Rename the CamelCase.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c
drivers/staging/comedi/drivers/ni_stc.h

index 39e680e1288252c945271efbcecea18ea97e35ea..b9e35ead643c7a236e9b694738a1f0aa30651618 100644 (file)
@@ -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);
                }
        }
 }
index 486e6a08b8dc43e639b5bc2d8cc24f1eca9f74b1..2afa701eb4d0bf1c93b05b63af1579f03df07d6b 100644 (file)
@@ -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