staging: comedi: gsc_hpdi: make board name pointer const

Change the type of the `name` member of `struct hpdi_board` from `char
*` to `const char *` as it should not be modifiable.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ian Abbott
2012-11-01 16:28:31 +00:00
committed by Greg Kroah-Hartman
parent 6526cd1ad0
commit 21309dabd3

View File

@@ -186,8 +186,7 @@ static unsigned int fifo_size(uint32_t fifo_size_bits)
} }
struct hpdi_board { struct hpdi_board {
const char *name; /* board name */
char *name;
int device_id; /* pci device id */ int device_id; /* pci device id */
int subdevice_id; /* pci subdevice id */ int subdevice_id; /* pci subdevice id */
}; };