From: Henning Heinold Date: Fri, 13 Jan 2012 05:38:37 +0000 (+1100) Subject: arm: tegra: export tegra_chip_uid X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e87e06cd8cc09afbbf61de1380913d51bf4dffb3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git arm: tegra: export tegra_chip_uid The crypto driver will need this api to use it in the RNG calculations. In order to build the crypto driver as a module, tegra_chip_uid has to be exported. Acked-by: Olof Johansson Signed-off-by: Henning Heinold Signed-off-by: Varun Wadekar Signed-off-by: Herbert Xu --- diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index 1fa26d9a1a68..ea49bd93c6b9 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c @@ -19,6 +19,7 @@ #include #include +#include #include @@ -58,6 +59,7 @@ unsigned long long tegra_chip_uid(void) hi = fuse_readl(FUSE_UID_HIGH); return (hi << 32ull) | lo; } +EXPORT_SYMBOL(tegra_chip_uid); int tegra_sku_id(void) {