[PATCH 1/2] Staging: comedi: Coding style issues

From: markpearson_de
Date: Sun Jul 10 2011 - 15:17:08 EST


From: Mark Pearson <markpearson_de@xxxxxxxx>

comedi.h : static inline decleration placed on the same line as the end
bracket from the previous static inline decleration.
Bracket coding issue also cleaned-up.

Signed-off-by: Mark Pearson <markpearson_de@xxxxxxxx>
---
drivers/staging/comedi/comedi.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
index 6c900e2..ed6854c 100644
--- a/drivers/staging/comedi/comedi.h
+++ b/drivers/staging/comedi/comedi.h
@@ -514,7 +514,9 @@
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
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/