Commit fa4508dd authored by Artur Lorincz's avatar Artur Lorincz Committed by Greg Kroah-Hartman

staging: comedi: made comedi_lrange struct constant

Added the const type qualifier to the comedi_lrange structure.
Signed-off-by: default avatarArtur Lorincz <larturus@yahoo.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cf13a747
...@@ -94,7 +94,7 @@ struct apci3501_private { ...@@ -94,7 +94,7 @@ struct apci3501_private {
unsigned char timer_mode; unsigned char timer_mode;
}; };
static struct comedi_lrange apci3501_ao_range = { static const struct comedi_lrange apci3501_ao_range = {
2, { 2, {
BIP_RANGE(10), BIP_RANGE(10),
UNI_RANGE(10) UNI_RANGE(10)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment