From: Ralf Thielow Date: Fri, 27 May 2011 23:37:03 +0000 (+0200) Subject: staging: comedi: fixed a declaration coding style issue X-Git-Tag: v3.1-rc1~232^2~532 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f80d1d22b6c30771f8d4576d5c741c33b0cfd8ab;p=profile%2Fivi%2Fkernel-x86-ivi.git staging: comedi: fixed a declaration coding style issue Fixed a declaration coding style issue. Signed-off-by: Ralf Thielow Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h index 6c900e2..14ea35a 100644 --- a/drivers/staging/comedi/comedi.h +++ b/drivers/staging/comedi/comedi.h @@ -514,12 +514,16 @@ return 0x1 + pfi_channel; else return 0xb + pfi_channel; - } static inline unsigned NI_USUAL_RTSI_SELECT(unsigned rtsi_channel) { + } + + static inline unsigned NI_USUAL_RTSI_SELECT(unsigned rtsi_channel) + { if (rtsi_channel < 7) return 0xb + rtsi_channel; else return 0x1b; } + /* mode bits for NI general-purpose counters, set with * INSN_CONFIG_SET_COUNTER_MODE */ #define NI_GPCT_COUNTING_MODE_SHIFT 16