[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1494923423-6919-1-git-send-email-srishtishar@gmail.com>
Date: Tue, 16 May 2017 14:00:23 +0530
From: srishti <srishtishar@...il.com>
To: abbotti@....co.uk
Cc: hsweeten@...ionengravers.com, gregkh@...uxfoundation.org,
thrust73@...il.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, srishti <srishtishar@...il.com>
Subject: [PATCH] Staging: comedi: comedidev.h: fixed a warning
Fixed a warning : struct comedi_lrange is generally constant.
Signed-off-by: Srishti Sharma <srishtishar@...il.com>
---
drivers/staging/comedi/comedidev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 1bb9986..82df090 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -623,7 +623,7 @@ extern const struct comedi_lrange range_unknown;
* There may also be a flag that indicates the minimum and maximum are merely
* scale factors for an unknown, external reference.
*/
-struct comedi_lrange {
+const struct comedi_lrange {
int length;
struct comedi_krange range[];
};
--
2.7.4
Powered by blists - more mailing lists