]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adv_pci_dio: use a const pointer to the diosubd_data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 18 Nov 2015 17:07:06 +0000 (10:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 23:57:40 +0000 (15:57 -0800)
commit3bd5a4129bb20201b1a25b7d2ea475bfbabbab18
treeef20bb0f95040fb0660adb49a6c547fbb5440aa5
parent22cabbb6ce8ae4c7c9e9b34b583afd728944e333
staging: comedi: adv_pci_dio: use a const pointer to the diosubd_data

For aesthetics, use a const pointer to access the diosubd_data in the
boardinfo when doing the (*auto_attach)..

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>
drivers/staging/comedi/drivers/adv_pci_dio.c