[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200906230452.33410-1-rikard.falkeborn@gmail.com>
Date: Mon, 7 Sep 2020 01:04:49 +0200
From: Rikard Falkeborn <rikard.falkeborn@...il.com>
To: linux-arm-kernel@...ts.infradead.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Sudeep Holla <sudeep.holla@....com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Viresh Kumar <viresh.kumar@...aro.org>,
Rikard Falkeborn <rikard.falkeborn@...il.com>
Subject: [PATCH 0/3] arm_scmi: Constify ops pointers in struct scmi_handle
A small patch series aiming to constify static scmi_*_ops structs in
drivers/firmware/arm_scmi. Since these are not modified, constify them
to allow the compiler to put them in read-only memory.
Rikard Falkeborn (3):
cpufreq: arm_scmi: Constify scmi_perf_ops pointers
firmware: arm_scmi: Constify ops pointers in scmi_handle
firmware: arm_scmi: Constify static scmi-ops
drivers/cpufreq/scmi-cpufreq.c | 6 +++---
drivers/firmware/arm_scmi/clock.c | 2 +-
drivers/firmware/arm_scmi/common.h | 2 +-
drivers/firmware/arm_scmi/mailbox.c | 2 +-
drivers/firmware/arm_scmi/notify.c | 2 +-
drivers/firmware/arm_scmi/perf.c | 2 +-
drivers/firmware/arm_scmi/power.c | 2 +-
drivers/firmware/arm_scmi/reset.c | 2 +-
drivers/firmware/arm_scmi/sensors.c | 2 +-
drivers/firmware/arm_scmi/smc.c | 2 +-
include/linux/scmi_protocol.h | 12 ++++++------
11 files changed, 18 insertions(+), 18 deletions(-)
--
2.28.0
Powered by blists - more mailing lists