staging: comedi: pcmad: move the boardinfo
For aesthetic reasons, move the boardinfo declaration so it follows the definition. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
06d4bd5153
commit
2a09cba62e
1 changed files with 10 additions and 9 deletions
|
@ -55,6 +55,16 @@ struct pcmad_board_struct {
|
||||||
int n_ai_bits;
|
int n_ai_bits;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct pcmad_board_struct pcmad_boards[] = {
|
||||||
|
{
|
||||||
|
.name = "pcmad12",
|
||||||
|
.n_ai_bits = 12,
|
||||||
|
}, {
|
||||||
|
.name = "pcmad16",
|
||||||
|
.n_ai_bits = 16,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
struct pcmad_priv_struct {
|
struct pcmad_priv_struct {
|
||||||
int differential;
|
int differential;
|
||||||
int twos_comp;
|
int twos_comp;
|
||||||
|
@ -130,15 +140,6 @@ static int pcmad_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct pcmad_board_struct pcmad_boards[] = {
|
|
||||||
{
|
|
||||||
.name = "pcmad12",
|
|
||||||
.n_ai_bits = 12,
|
|
||||||
}, {
|
|
||||||
.name = "pcmad16",
|
|
||||||
.n_ai_bits = 16,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
static struct comedi_driver pcmad_driver = {
|
static struct comedi_driver pcmad_driver = {
|
||||||
.driver_name = "pcmad",
|
.driver_name = "pcmad",
|
||||||
.module = THIS_MODULE,
|
.module = THIS_MODULE,
|
||||||
|
|
Loading…
Add table
Reference in a new issue