mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Joel Stanley
parent
31901bb74f
commit
f458c38f40
@@ -1028,7 +1028,7 @@ static int sbefifo_remove(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct fsi_device_id sbefifo_ids[] = {
|
||||
static const struct fsi_device_id sbefifo_ids[] = {
|
||||
{
|
||||
.engine_type = FSI_ENGID_SBE,
|
||||
.version = FSI_VERSION_ANY,
|
||||
|
Reference in New Issue
Block a user