[PATCH] Staging: greybus: Make string array const

From: Eames Trinh
Date: Mon Aug 21 2017 - 18:15:40 EST


Added const to string array.

Signed-off-by: Eames Trinh <eamestrinh@xxxxxxxxx>
---
drivers/staging/greybus/audio_manager_module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/greybus/audio_manager_module.c b/drivers/staging/greybus/audio_manager_module.c
index adc16977452d..73a3e2decb3a 100644
--- a/drivers/staging/greybus/audio_manager_module.c
+++ b/drivers/staging/greybus/audio_manager_module.c
@@ -159,7 +159,7 @@ static void send_add_uevent(struct gb_audio_manager_module *module)
char ip_devices_string[64];
char op_devices_string[64];

- char *envp[] = {
+ const char *envp[] = {
name_string,
vid_string,
pid_string,
--
2.11.0