The way it is currently used, there's no reason for 'uint' field to be mutable, so constify it in order to allow 'aiodev' drivers to pass sting literals in that field. Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- include/aiodev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/aiodev.h b/include/aiodev.h index 0d4f7a294..5e38b4fab 100644 --- a/include/aiodev.h +++ b/include/aiodev.h @@ -23,7 +23,7 @@ struct aiodevice; struct aiochannel { int index; - char *unit; + const char *unit; struct aiodevice *aiodev; int value; -- 2.14.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox