Skip to contentSkip to conversation

soc/tegra: fuse: export tegra_sku_info for module use

PATCH Superseded Vince Hsu 1 participant 1 message Nov 28, 2014 Tegra architecture support

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Vince Hsu

author
#0 lore raw

PATCH v2 1/1 soc/tegra: fuse: export tegra_sku_info for module use

Some Tegra drivers might be complied 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.

---

v2: add more description why we need this patch

 drivers/soc/tegra/fuse/fuse-tegra.c | 1 +
 1 file changed, 1 insertion(+)
drivers/soc/tegra/fuse/fuse-tegra.c +1 -0
index 11a5043959dc..011a3363c265 100644
@@ -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",
Signature · 1 line
1.9.1