From fa4508ddc3698566bf7b0b518d667aa75f355dfb Mon Sep 17 00:00:00 2001 From: Artur Lorincz Date: Sat, 11 Feb 2017 21:26:51 +0100 Subject: [PATCH] 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 --- drivers/staging/comedi/drivers/addi_apci_3501.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1