diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2017-02-20 22:49:33 +0530 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-02-09 22:45:33 +0100 |
commit | d326296204372ec5e0c37452271fc26844b61a55 (patch) | |
tree | 54bd097d5febdc92e634d88530168cc70c596a46 /include | |
parent | fd8a3307976f58bdcf47d0df23e46ee14d0dce90 (diff) |
drivers: soc: Add new sysfs attribute to expose SoC unique ID
Add new 'unique_id' sysfs attribute to expose SoC unique ID
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 8a098f2f1b8ae277a38ee0c5e0b974d5baa8dd01)
(cherry picked from commit fb67fb4b277c6df9b5032564d6ae6756c905206d)
Conflicts:
include/linux/sys_soc.h
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sys_soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sys_soc.h b/include/linux/sys_soc.h index bed223b70217..16cdbdb09100 100644 --- a/include/linux/sys_soc.h +++ b/include/linux/sys_soc.h @@ -14,6 +14,7 @@ struct soc_device_attribute { const char *revision; const char *soc_id; const void *data; + const char *unique_id; }; /** |