Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1415225

[PATCH 2/3] firmware: arm_scpi: mark scpi_get_sensor_value as static

From Sudeep Holla <sudeep.holla@arm.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] firmware: arm_scpi: mark scpi_get_sensor_value as static
Date 2016-06-06 17:40 +0200
Message-ID <rH4Nb-6KM-11@gated-at.bofh.it> (permalink)
References <rH4Nb-6KM-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


scpi_get_sensor_value like other scpi operations needs to be static.
This patch marks it as static to be consistent with others.

Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 drivers/firmware/arm_scpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c
index 279fb84f69e1..51c6db0774cc 100644
--- a/drivers/firmware/arm_scpi.c
+++ b/drivers/firmware/arm_scpi.c
@@ -522,7 +522,7 @@ static int scpi_sensor_get_info(u16 sensor_id, struct scpi_sensor_info *info)
 	return ret;
 }

-int scpi_sensor_get_value(u16 sensor, u64 *val)
+static int scpi_sensor_get_value(u16 sensor, u64 *val)
 {
 	__le16 id = cpu_to_le16(sensor);
 	struct sensor_value buf;
--
2.7.4

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] firmware: arm_scpi: remove dvfs_get packed structure Sudeep Holla <sudeep.holla@arm.com> - 2016-06-06 17:40 +0200
  [PATCH 2/3] firmware: arm_scpi: mark scpi_get_sensor_value as static Sudeep Holla <sudeep.holla@arm.com> - 2016-06-06 17:40 +0200
  [PATCH 3/3] firmware: arm_scpi: make it depend on MAILBOX instead of ARM_MHU Sudeep Holla <sudeep.holla@arm.com> - 2016-06-06 17:40 +0200

csiph-web