Skip to content

Commit

Permalink
soc/tegra: fuse: fix dummy functions
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
nvswarren authored and thierryreding committed Jul 17, 2014
1 parent 0d827a4 commit 2fa937a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/soc/tegra/fuse/fuse.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ void tegra20_init_fuse_early(void);
u32 tegra20_fuse_early(const unsigned int offset);
#else
static inline void tegra20_init_speedo_data(struct tegra_sku_info *sku_info) {}
static inline bool tegra20_spare_fuse_early(int spare_bit, void *fuse_base)
static inline bool tegra20_spare_fuse_early(int spare_bit)
{
return false;
return false;
}
static inline void tegra20_init_fuse_early(void);
static inline tegra20_fuse_early(const unsigned int offset);
static inline void tegra20_init_fuse_early(void) {}
static inline u32 tegra20_fuse_early(const unsigned int offset)
{
return 0;
return 0;
}
#endif

Expand Down

0 comments on commit 2fa937a

Please sign in to comment.