projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4fbf8
)
soc/tegra: fuse: Add stub for tegra_sku_info
author
Dmitry Osipenko
<digetx@gmail.com>
Wed, 4 Nov 2020 16:48:39 +0000
(19:48 +0300)
committer
Krzysztof Kozlowski
<krzk@kernel.org>
Fri, 6 Nov 2020 18:25:21 +0000
(19:25 +0100)
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>
include/soc/tegra/fuse.h
patch
|
blob
|
history
diff --git
a/include/soc/tegra/fuse.h
b/include/soc/tegra/fuse.h
index c702bd2911bcea0fd8de0f084a1e6237039e9eeb..78cbc787a4dc90708f148559ee96d32cefdcaddf 100644
(file)
--- a/
include/soc/tegra/fuse.h
+++ b/
include/soc/tegra/fuse.h
@@
-56,7
+56,11
@@
u32 tegra_read_straps(void);
u32 tegra_read_ram_code(void);
int tegra_fuse_readl(unsigned long offset, u32 *value);
+#ifdef CONFIG_ARCH_TEGRA
extern struct tegra_sku_info tegra_sku_info;
+#else
+static struct tegra_sku_info tegra_sku_info __maybe_unused;
+#endif
struct device *tegra_soc_device_register(void);