diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-08-15 17:30:26 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-16 11:30:40 -0700 |
| commit | 5432e3f3e9f2d2644115b9c881c1e9dad0e1f8fc (patch) | |
| tree | 4c816f2c73ede5e1c572ed8d5ed153e6f2c24aba /include/linux/stackprotector.h | |
| parent | 8cf78422eaeb29828fb6b897550c6090696fc40d (diff) | |
staging: comedi: contec_pci_dio: remove thisboard macro
This macro relies on a local variable of a specific name. Remove the
macro and use the comedi_board() helper to get the thisboard pointer.
Move the 'dev->board_name = thisboard->name;' in contec_attach().
The contec_find_pci_dev() function modifies the dev->board_ptr.
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>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
