[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200805232624.6938-1-rikard.falkeborn@gmail.com>
Date: Thu, 6 Aug 2020 01:26:21 +0200
From: Rikard Falkeborn <rikard.falkeborn@...il.com>
To: linux-fsi@...ts.ozlabs.org
Cc: linux-kernel@...r.kernel.org, jk@...abs.org, joel@....id.au,
alistair@...ple.id.au, eajames@...ux.ibm.com,
Rikard Falkeborn <rikard.falkeborn@...il.com>
Subject: [PATCH 0/3] fsi: Constify fsi_device_ids
fsi_device_id is never modified (and it's a const pointer in the
fsi_driver struct), so make the static variables const to allow the
compiler to put them in read-only memory.
Rikard Falkeborn (3):
fsi: master: Constify hub_master_ids
fsi: sbefifo: Constify sbefifo_ids
fsi: scom: Constify scom_ids
drivers/fsi/fsi-master-hub.c | 2 +-
drivers/fsi/fsi-sbefifo.c | 2 +-
drivers/fsi/fsi-scom.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.28.0
Powered by blists - more mailing lists