aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVince Hsu <vinceh@nvidia.com>2014-12-01 23:50:32 -0500
committerBen Skeggs <bskeggs@redhat.com>2014-12-02 00:43:37 -0500
commitf9fc36618bcbca276d24738b07234d3601d1b17a (patch)
tree4ebff7763fa044a9e1adb535c3b88992de0d4efe
parent5a0e9d72136d90f5456bcc465d318f49d3f45838 (diff)
soc/tegra: fuse: export tegra_sku_info
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 <vinceh@nvidia.com> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/soc/tegra/fuse/fuse-tegra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/tegra/fuse/fuse-tegra.c b/drivers/soc/tegra/fuse/fuse-tegra.c
index 11a5043959dc..011a3363c265 100644
--- a/drivers/soc/tegra/fuse/fuse-tegra.c
+++ b/drivers/soc/tegra/fuse/fuse-tegra.c
@@ -31,6 +31,7 @@
31static u32 (*fuse_readl)(const unsigned int offset); 31static u32 (*fuse_readl)(const unsigned int offset);
32static int fuse_size; 32static int fuse_size;
33struct tegra_sku_info tegra_sku_info; 33struct tegra_sku_info tegra_sku_info;
34EXPORT_SYMBOL(tegra_sku_info);
34 35
35static const char *tegra_revision_name[TEGRA_REVISION_MAX] = { 36static const char *tegra_revision_name[TEGRA_REVISION_MAX] = {
36 [TEGRA_REVISION_UNKNOWN] = "unknown", 37 [TEGRA_REVISION_UNKNOWN] = "unknown",