Skip to content

Commit

Permalink
staging: comedi: rtd520: cleanup the LAS1_* defines
Browse files Browse the repository at this point in the history
Fixes all the > 80 char checkpatch.pl issues with these defines.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 30, 2012
1 parent 9ef55e9 commit f4c1a4f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions drivers/staging/comedi/drivers/rtd520.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,12 @@
#define LAS0_DMA1_RESET 0x01d0 /* DMA1 Request state machine reset */

/*
LAS1
Name Local Address Function
*/
#define LAS1_ADC_FIFO 0x0000 /* Read A/D FIFO (16bit) - */
#define LAS1_HDIO_FIFO 0x0004 /* Read High Speed Digital Input FIFO (16bit) - */
#define LAS1_DAC1_FIFO 0x0008 /* - Write D/A1 FIFO (16bit) */
#define LAS1_DAC2_FIFO 0x000C /* - Write D/A2 FIFO (16bit) */
* Local Address Space 1 Offsets
*/
#define LAS1_ADC_FIFO 0x0000 /* A/D FIFO (16bit) */
#define LAS1_HDIO_FIFO 0x0004 /* HiSpd DI FIFO (16bit) */
#define LAS1_DAC1_FIFO 0x0008 /* D/A1 FIFO (16bit) */
#define LAS1_DAC2_FIFO 0x000c /* D/A2 FIFO (16bit) */

/*
LCFG: PLX 9080 local config & runtime registers
Expand Down

0 comments on commit f4c1a4f

Please sign in to comment.