projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d91de
)
firmware: arm_scpi: mark scpi_get_sensor_value as static
author
Sudeep Holla
<sudeep.holla@arm.com>
Tue, 23 Feb 2016 16:21:16 +0000
(16:21 +0000)
committer
Sudeep Holla
<sudeep.holla@arm.com>
Mon, 13 Jun 2016 10:12:55 +0000
(11:12 +0100)
scpi_get_sensor_value like other scpi operations needs to be static.
This patch marks it as static to be consistent with others.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scpi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/firmware/arm_scpi.c
b/drivers/firmware/arm_scpi.c
index 279fb84f69e1f22aec44faf72bae8a707ffd244c..51c6db0774ccf99e5e750598581e8c5cd4cb4b6d 100644
(file)
--- 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;