diff options
| author | Yuanyuan Liu <yuanliu@codeaurora.org> | 2016-09-20 12:11:27 -0700 |
|---|---|---|
| committer | Yuanyuan Liu <yuanliu@codeaurora.org> | 2016-09-20 12:18:34 -0700 |
| commit | 2d44f9a775acc3ba5f478e336b93e73c3bfb33a2 (patch) | |
| tree | b795a50c01951386b21d78105153e966e9ec658c /drivers/soc | |
| parent | 4b91c1a0f78b6b4071e66c9a5879a784cedd6693 (diff) | |
icnss: Provide ICNSS support of reading SOC serial number
Provide support of reading SOC serial number. This will be used
for auto-generate WLAN MAC address.
CRs-Fixed: 1069005
Change-Id: Ie2072768b2fab3bcbdc70798897ca66614ee8a06
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Diffstat (limited to 'drivers/soc')
| -rw-r--r-- | drivers/soc/qcom/icnss.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/soc/qcom/icnss.c b/drivers/soc/qcom/icnss.c index 232ee28318e7..32b1d26d187b 100644 --- a/drivers/soc/qcom/icnss.c +++ b/drivers/soc/qcom/icnss.c @@ -43,6 +43,7 @@ #include <soc/qcom/subsystem_notif.h> #include <soc/qcom/service-locator.h> #include <soc/qcom/service-notifier.h> +#include <soc/qcom/socinfo.h> #include "wlan_firmware_service_v01.h" @@ -3284,6 +3285,12 @@ int icnss_smmu_map(struct device *dev, } EXPORT_SYMBOL(icnss_smmu_map); +unsigned int icnss_socinfo_get_serial_number(struct device *dev) +{ + return socinfo_get_serial_number(); +} +EXPORT_SYMBOL(icnss_socinfo_get_serial_number); + static int icnss_bw_vote(struct icnss_priv *priv, int index) { int ret = 0; |
