diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2017-02-20 22:49:33 +0530 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2019-05-24 11:34:14 +0200 |
commit | ad6bebc3a4fe25acdb2449b63d6abc28def8b5be (patch) | |
tree | f7183e922c8672ff0cfbd1b49e38d48e31b45579 /include | |
parent | 4f220c4dc53a4780f30fae7ccb69b652180484ca (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; }; /** |