* [PATCH] staging: comedi: fixed a declaration coding style issue
@ 2011-05-27 23:37 Ralf Thielow
0 siblings, 0 replies; only message in thread
From: Ralf Thielow @ 2011-05-27 23:37 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Ralf Thielow
Fixed a declaration coding style issue.
Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com>
---
drivers/staging/comedi/comedi.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
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
--
1.7.5.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-27 23:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-27 23:37 [PATCH] staging: comedi: fixed a declaration coding style issue Ralf Thielow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®