mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 20:22:08 +02:00
staging: comedi: ni_mio_common: remove forward declaration 9
Move ni_rtsi_insn_bits() to remove the need for the forward declaration. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
24e7c352ba
commit
12db14163e
|
|
@ -222,9 +222,6 @@ static int ni_serial_sw_readwrite8(struct comedi_device *dev,
|
|||
unsigned char *data_in);
|
||||
|
||||
static void ni_rtsi_init(struct comedi_device *dev);
|
||||
static int ni_rtsi_insn_bits(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data);
|
||||
static int ni_rtsi_insn_config(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data);
|
||||
|
|
@ -4807,6 +4804,16 @@ static int init_cs5529(struct comedi_device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int ni_rtsi_insn_bits(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn,
|
||||
unsigned int *data)
|
||||
{
|
||||
data[1] = 0;
|
||||
|
||||
return insn->n;
|
||||
}
|
||||
|
||||
#ifdef PCIDMA
|
||||
static int ni_gpct_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
|
||||
{
|
||||
|
|
@ -5302,15 +5309,6 @@ static void ni_rtsi_init(struct comedi_device *dev)
|
|||
*/
|
||||
}
|
||||
|
||||
static int ni_rtsi_insn_bits(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data)
|
||||
{
|
||||
data[1] = 0;
|
||||
|
||||
return insn->n;
|
||||
}
|
||||
|
||||
/* Find best multiplier/divider to try and get the PLL running at 80 MHz
|
||||
* given an arbitrary frequency input clock */
|
||||
static int ni_mseries_get_pll_parameters(unsigned reference_period_ns,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user