Commit f9fc3661 authored by Vince Hsu's avatar Vince Hsu Committed by Ben Skeggs

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: default avatarVince Hsu <vinceh@nvidia.com>
Acked-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 5a0e9d72
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
static u32 (*fuse_readl)(const unsigned int offset); static u32 (*fuse_readl)(const unsigned int offset);
static int fuse_size; static int fuse_size;
struct tegra_sku_info tegra_sku_info; struct tegra_sku_info tegra_sku_info;
EXPORT_SYMBOL(tegra_sku_info);
static const char *tegra_revision_name[TEGRA_REVISION_MAX] = { static const char *tegra_revision_name[TEGRA_REVISION_MAX] = {
[TEGRA_REVISION_UNKNOWN] = "unknown", [TEGRA_REVISION_UNKNOWN] = "unknown",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment