]> git.baikalelectronics.ru Git - kernel.git/commit
fsi: scom: Constify scom_ids
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 5 Aug 2020 23:26:24 +0000 (01:26 +0200)
committerJoel Stanley <joel@jms.id.au>
Thu, 10 Sep 2020 02:52:51 +0000 (12:22 +0930)
commit30016024f4fd1ae3b0c0272fb9ecd5719370e124
tree34b8a950063a2ec6188290c56cebc946e197d240
parentc6029d14e044b3d45eaf832bfb1e79461390941f
fsi: scom: Constify scom_ids

The only usage of scom_ids is to assign its address to the id_table
field in the fsi_driver struct, which is a const pointer, so make it
const to allow the compiler to put it in read-only memory

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-scom.c