summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorArtur Lorincz <larturus@yahoo.com>2017-02-11 21:26:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-14 10:17:06 -0800
commitfa4508ddc3698566bf7b0b518d667aa75f355dfb (patch)
tree60bd9496de2f9d5df0589c4227d05c44983774e2 /drivers/staging
parentcf13a747b169e355f55ac5d6504700936d5298e3 (diff)
downloadtalos-obmc-linux-fa4508ddc3698566bf7b0b518d667aa75f355dfb.tar.gz
talos-obmc-linux-fa4508ddc3698566bf7b0b518d667aa75f355dfb.zip
staging: comedi: made comedi_lrange struct constant
Added the const type qualifier to the comedi_lrange structure. Signed-off-by: Artur Lorincz <larturus@yahoo.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/comedi/drivers/addi_apci_3501.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/addi_apci_3501.c b/drivers/staging/comedi/drivers/addi_apci_3501.c
index 57f0f46de0be..1fdc0f8d7e1a 100644
--- a/drivers/staging/comedi/drivers/addi_apci_3501.c
+++ b/drivers/staging/comedi/drivers/addi_apci_3501.c
@@ -94,7 +94,7 @@ struct apci3501_private {
unsigned char timer_mode;
};
-static struct comedi_lrange apci3501_ao_range = {
+static const struct comedi_lrange apci3501_ao_range = {
2, {
BIP_RANGE(10),
UNI_RANGE(10)
OpenPOWER on IntegriCloud