From: Andrey Shvetsov Date: Mon, 12 Sep 2016 14:26:14 +0000 (+0200) Subject: staging: most: core: constify structure member X-Git-Tag: v4.9-rc1~119^2~622 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=602facfd96397298461cd71f6a6f9e17b82f9788;p=karo-tx-linux.git staging: most: core: constify structure member This patch adds the const qualifier to the declaration of the member name_suffix of structure most_channel_capability. It is needed since it points to string literals. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/mostcore/mostcore.h b/drivers/staging/most/mostcore/mostcore.h index 60e018e499ef..e768cb863e4c 100644 --- a/drivers/staging/most/mostcore/mostcore.h +++ b/drivers/staging/most/mostcore/mostcore.h @@ -112,7 +112,7 @@ struct most_channel_capability { u16 buffer_size_packet; u16 num_buffers_streaming; u16 buffer_size_streaming; - char *name_suffix; + const char *name_suffix; }; /**