rockchip: mkimage: make RC4 key const

This is read-only data, so mark it as such.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
John Keeping 2022-11-18 16:13:18 +00:00 committed by Kever Yang
parent 93a6e60e49
commit 2c89929101

View File

@ -154,7 +154,7 @@ struct spl_params {
static struct spl_params spl_params = { 0 };
static unsigned char rc4_key[16] = {
static const unsigned char rc4_key[16] = {
124, 78, 3, 4, 85, 5, 9, 7,
45, 44, 123, 56, 23, 13, 23, 17
};