Skip to content

Commit 245157a

Browse files
digetxkrzk
authored andcommitted
soc/tegra: fuse: Add stub for tegra_sku_info
Drivers that use tegra_sku_info and have COMPILE_TEST are failing to be build due to the missing stub for tegra_sku_info. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20201104164923.21238-4-digetx@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent fc4fbf8 commit 245157a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/soc/tegra/fuse.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ u32 tegra_read_straps(void);
5656
u32 tegra_read_ram_code(void);
5757
int tegra_fuse_readl(unsigned long offset, u32 *value);
5858

59+
#ifdef CONFIG_ARCH_TEGRA
5960
extern struct tegra_sku_info tegra_sku_info;
61+
#else
62+
static struct tegra_sku_info tegra_sku_info __maybe_unused;
63+
#endif
6064

6165
struct device *tegra_soc_device_register(void);
6266

0 commit comments

Comments
 (0)