Commit 161ce6fa authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_labpc: remove inline from labpc_counter_load()

Let the compiler figure out if this function should be inlined.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 488ec9f1
...@@ -846,10 +846,10 @@ static int labpc_ai_cmdtest(struct comedi_device *dev, ...@@ -846,10 +846,10 @@ static int labpc_ai_cmdtest(struct comedi_device *dev,
return 0; return 0;
} }
static inline int labpc_counter_load(struct comedi_device *dev, static int labpc_counter_load(struct comedi_device *dev,
unsigned long base_address, unsigned long base_address,
unsigned int counter_number, unsigned int counter_number,
unsigned int count, unsigned int mode) unsigned int count, unsigned int mode)
{ {
const struct labpc_boardinfo *board = comedi_board(dev); const struct labpc_boardinfo *board = comedi_board(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment