From: Artur Lorincz Date: Sat, 11 Feb 2017 20:26:51 +0000 (+0100) Subject: staging: comedi: made comedi_lrange struct constant X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa4508ddc3698566bf7b0b518d667aa75f355dfb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: comedi: made comedi_lrange struct constant Added the const type qualifier to the comedi_lrange structure. Signed-off-by: Artur Lorincz Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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)