Skip to content

Commit 2fa937a

Browse files
Stephen Warrenthierryreding
authored andcommitted
soc/tegra: fuse: fix dummy functions
The Tegra fuse header's dummy functions for the case where Tegra20 is disabled are inconsistent with the correct prototypes, and have some syntax errors. Fix these. While at it, fix the indentation level of the dummy function bodies. Fixes: 783c8f4 ("soc/tegra: Add efuse driver for Tegra") Cc: Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 0d827a4 commit 2fa937a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎drivers/soc/tegra/fuse/fuse.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ void tegra20_init_fuse_early(void);
3838
u32 tegra20_fuse_early(const unsigned int offset);
3939
#else
4040
static inline void tegra20_init_speedo_data(struct tegra_sku_info *sku_info) {}
41-
static inline bool tegra20_spare_fuse_early(int spare_bit, void *fuse_base)
41+
static inline bool tegra20_spare_fuse_early(int spare_bit)
4242
{
43-
return false;
43+
return false;
4444
}
45-
static inline void tegra20_init_fuse_early(void);
46-
static inline tegra20_fuse_early(const unsigned int offset);
45+
static inline void tegra20_init_fuse_early(void) {}
46+
static inline u32 tegra20_fuse_early(const unsigned int offset)
4747
{
48-
return 0;
48+
return 0;
4949
}
5050
#endif
5151

0 commit comments

Comments
 (0)