lkml.org 
[lkml]   [2011]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 20/20] Staging: comedi: fix warning: line over 80 character issue in pcl812.c
Date
From: Ravishankar <ravi.shankar@greenturtles.in>

This is a patch to the pcl812.c file that fixes up a warning:line over 80 character found by the checkpatch.pl tool

Signed-off-by: Ravishankar <ravishankarkm32@gmail.com>
---
drivers/staging/comedi/drivers/pcl812.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/comedi/drivers/pcl812.c b/drivers/staging/comedi/drivers/pcl812.c
index 6fc7464..157cbde 100644
--- a/drivers/staging/comedi/drivers/pcl812.c
+++ b/drivers/staging/comedi/drivers/pcl812.c
@@ -433,14 +433,16 @@ struct pcl812_private {
unsigned char range_correction; /* =1 we must add 1 to range number */
unsigned char old_chan_reg; /* lastly used chan/gain pair */
unsigned char old_gain_reg;
- unsigned char mode_reg_int; /* there is stored INT number for some card */
+ unsigned char mode_reg_int; /* there is stored INT number for some
+ * card */
unsigned char ai_neverending; /* =1 we do unlimited AI */
unsigned char ai_eos; /* 1=EOS wake up */
unsigned char ai_dma; /* =1 we use DMA */
unsigned int ai_poll_ptr; /* how many sampes transfer poll */
unsigned int ai_scans; /* len of scanlist */
unsigned int ai_act_scan; /* how many scans we finished */
- unsigned int ai_chanlist[MAX_CHANLIST_LEN]; /* our copy of channel/range list */
+ /* our copy of channel/range list */
+ unsigned int ai_chanlist[MAX_CHANLIST_LEN];
unsigned int ai_n_chan; /* how many channels is measured */
unsigned int ai_flags; /* flaglist */
unsigned int ai_data_len; /* len of data buffer */
@@ -452,9 +454,12 @@ struct pcl812_private {
unsigned int hwdmasize[2]; /* DMA buf size in bytes */
unsigned int dmabytestomove[2]; /* how many bytes DMA transfer */
int next_dma_buf; /* which buffer is next to use */
- unsigned int dma_runs_to_end; /* how many times we must switch DMA buffers */
- unsigned int last_dma_run; /* how many bytes to transfer on last DMA buffer */
- unsigned int max_812_ai_mode0_rangewait; /* setling time for gain */
+ /* how many times we must switch DMA buffers */
+ unsigned int dma_runs_to_end;
+ /* how many bytes to transfer on last DMA buffer */
+ unsigned int last_dma_run;
+ /* setling time for gain */
+ unsigned int max_812_ai_mode0_rangewait;
unsigned int ao_readback[2]; /* data for AO readback */
};

--
1.6.5.2


\
 
 \ /
  Last update: 2011-07-12 09:09    [W:0.022 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site