Commit 9f963096 authored by Anson Jacob's avatar Anson Jacob Committed by Greg Kroah-Hartman
Browse files

staging: comedi: cb_pcidas64: Fix checkpath warning



Fix checkpatch.pl warning:
Please use a blank line after function/struct/union/enum declarations

Move macro definition to the top of the file
Aligne macro definitions

Signed-off-by: default avatarAnson Jacob <ansonjacob.aj@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4281c748
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@
 */
#define PRESCALED_TIMER_BASE	10000
#define DMA_BUFFER_SIZE		0x1000
#define DAC_FIFO_SIZE		0x2000

/* maximum value that can be loaded into board's 24-bit counters */
static const int max_counter_value = 0xffffff;
@@ -227,7 +228,6 @@ enum hw_config_contents {
	DAC_FIFO_SIZE_MASK = 0xff00,	/* bits that set dac fifo size */
	DAC_FIFO_BITS = 0xf800,		/* 8k sample ao fifo */
};
#define DAC_FIFO_SIZE 0x2000

enum daq_atrig_low_4020_contents {
	/* use trig/ext clk bnc input for analog gate signal */