diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2017-02-20 22:49:33 +0530 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-12-24 01:27:28 +0100 |
commit | bcd0cfa3a84ce6a33b34c4952ba9a143ea337683 (patch) | |
tree | 9a04ae95402f0446559d529ee83e5d083fb69a1d /include | |
parent | 7ebd0b43b2fb5fdc350ce63d150e88ce38bdbc33 (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)
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 2739ccb69571..5412d2b7de7f 100644 --- a/include/linux/sys_soc.h +++ b/include/linux/sys_soc.h @@ -13,6 +13,7 @@ struct soc_device_attribute { const char *family; const char *revision; const char *soc_id; + const char *unique_id; }; /** |