mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
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
Block a user