]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
fsi: sbefifo: Constify sbefifo_ids
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 5 Aug 2020 23:26:23 +0000 (01:26 +0200)
committerJoel Stanley <joel@jms.id.au>
Thu, 10 Sep 2020 02:52:50 +0000 (12:22 +0930)
commitf458c38f40fa7f03135b25e33884abc5fd028714
tree8462f1df0e8cd0c85644ed2472e3ffc24ad88be1
parent31901bb74f5618929ce94880691c8448765415ac
fsi: sbefifo: Constify sbefifo_ids

The only usage of sbefifo_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-sbefifo.c