summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom
diff options
context:
space:
mode:
authorMatt Wagantall <mattw@codeaurora.org>2015-06-29 10:23:19 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:02:35 -0700
commit15dc57c1de67651fedfbc776eb819affff64ea18 (patch)
tree7bd2e544da030205f23d34e87c86d18dc3658f61 /drivers/soc/qcom
parentcb351939a94bc3d4b0bf893996fe378983001ed1 (diff)
soc: qcom: socinfo: fix sysfs node creation for format v0.11
When support for socinfo v0.11 was added, the necessary switch/case update for sysfs node creation was not added. As a result, many socinfo sysfs nodes are missing. Add them back. Change-Id: Ic79c9de22d04d4da7e86e273ab80f9efdafb58d5 Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Diffstat (limited to 'drivers/soc/qcom')
-rw-r--r--drivers/soc/qcom/socinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index e56d0a1273e7..0535f2ee4f5e 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -1076,6 +1076,7 @@ static void __init populate_soc_sysfs_files(struct device *msm_soc_device)
device_create_file(msm_soc_device, &select_image);
switch (socinfo_format) {
+ case SOCINFO_VERSION(0, 11):
case SOCINFO_VERSION(0, 10):
device_create_file(msm_soc_device,
&msm_soc_attr_serial_number);