linux-next: build warning after merge of the drivers-x86 tree

From: Stephen Rothwell
Date: Fri Jun 30 2017 - 00:01:01 EST


Hi Darren,

After merging the drivers-x86 tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/platform/x86/sony-laptop.c: In function 'sony_laptop_setup_input':
drivers/platform/x86/sony-laptop.c:494:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
key_dev->keycode = &sony_laptop_input_keycode_map;
^

Introduced by commit

a0f0a5e1978b ("platform/x86: sony-laptop: constify few static structures")

--
Cheers,
Stephen Rothwell