mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
staging: comedi: fixed a declaration coding style issue
Fixed a declaration coding style issue. Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
2265e2e7fd
commit
f80d1d22b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user