mirror of https://gitee.com/openkylin/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 <andrey.shvetsov@k2l.de> Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bc5f96a156
commit
602facfd96
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue