From: Vince Hsu Date: Tue, 2 Dec 2014 04:50:32 +0000 (+0800) Subject: soc/tegra: fuse: export tegra_sku_info X-Git-Tag: v4.14-rc1~6161^2~2^2~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9fc36618bcbca276d24738b07234d3601d1b17a;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Alexandre Courbot Acked-by: Thierry Reding Signed-off-by: Ben Skeggs --- diff --git a/drivers/soc/tegra/fuse/fuse-tegra.c b/drivers/soc/tegra/fuse/fuse-tegra.c index 11a5043..011a336 100644 --- a/drivers/soc/tegra/fuse/fuse-tegra.c +++ b/drivers/soc/tegra/fuse/fuse-tegra.c @@ -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",