Skip to content

Commit

Permalink
staging: comedi: fixed a declaration coding style issue
Browse files Browse the repository at this point in the history
Fixed a declaration coding style issue.

Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Ralf Thielow authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 2265e2e commit f80d1d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drivers/staging/comedi/comedi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f80d1d2

Please sign in to comment.