mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
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>
This commit is contained in:
parent
f458c38f40
commit
59165631b7
@ -627,7 +627,7 @@ static int scom_remove(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct fsi_device_id scom_ids[] = {
|
||||
static const struct fsi_device_id scom_ids[] = {
|
||||
{
|
||||
.engine_type = FSI_ENGID_SCOM,
|
||||
.version = FSI_VERSION_ANY,
|
||||
|
Loading…
Reference in New Issue
Block a user