]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pc236: remove manual configuration of PCI boards
authorIan Abbott <abbotti@mev.co.uk>
Fri, 25 Jul 2014 09:04:49 +0000 (10:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:28:37 +0000 (11:28 -0700)
commit812caaa3f656486ebccf82985e44bd32c7840fde
tree499727e599d20c5100af38e2d6554f15b1e1eb5c
parent3a57a7bdbaf84f1b9d7856ce4d11976c679950ce
staging: comedi: amplc_pc236: remove manual configuration of PCI boards

Remove the code that allows PCI boards to be manually attached by the
`COMEDI_DEVCONFIG` ioctl (or the "comedi_config" application).
Supported PCI boards (PCI236) will be attached automatically at probe
time via `comedi_pci_auto_config()` and the `auto_attach` hook in the
`struct comedi_driver`.

The "wildcard" entry in `pc236_boards[]` was only used when manually
attaching a PCI board using a driver name instead of a board name, so is
no longer needed.  Remove it.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pc236.c