soc/tegra: fuse: export tegra_sku_info
authorVince Hsu <[email protected]>
Tue, 2 Dec 2014 04:50:32 +0000 (12:50 +0800)
committerBen Skeggs <[email protected]>
Tue, 2 Dec 2014 05:43:37 +0000 (15:43 +1000)
Some Tegra drivers might be compiled as kernel modules, and they need the
fuse information for initialization. One example is the GK20A Nouveau
driver. It needs the GPU speedo value to calculate frequency-voltage
table. So export the tegra_sku_info.

Signed-off-by: Vince Hsu <[email protected]>
Acked-by: Alexandre Courbot <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
drivers/soc/tegra/fuse/fuse-tegra.c

index 11a5043959dc9c10126f2a0708a1677092a7ddf8..011a3363c265322631a4021b15c05938ce51c62b 100644 (file)
@@ -31,6 +31,7 @@
 static u32 (*fuse_readl)(const unsigned int offset);
 static int fuse_size;
 struct tegra_sku_info tegra_sku_info;
+EXPORT_SYMBOL(tegra_sku_info);
 
 static const char *tegra_revision_name[TEGRA_REVISION_MAX] = {
        [TEGRA_REVISION_UNKNOWN] = "unknown",