aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/tegra
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-06-16 17:05:04 -0400
committerThierry Reding <treding@nvidia.com>2014-07-17 08:38:29 -0400
commit2fa937a767bd0933dfe6017cabd038ce52594171 (patch)
tree3176ddacf7941d95e3743b9af1f5802a3d8ffe0c /drivers/soc/tegra
parent0d827a4343b596b71a1741328c4e5687ce654e19 (diff)
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: 783c8f4c8445 ("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>
Diffstat (limited to 'drivers/soc/tegra')
-rw-r--r--drivers/soc/tegra/fuse/fuse.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/soc/tegra/fuse/fuse.h b/drivers/soc/tegra/fuse/fuse.h
index b3442770df09..3a398bf3572c 100644
--- a/drivers/soc/tegra/fuse/fuse.h
+++ b/drivers/soc/tegra/fuse/fuse.h
@@ -38,14 +38,14 @@ void tegra20_init_fuse_early(void);
38u32 tegra20_fuse_early(const unsigned int offset); 38u32 tegra20_fuse_early(const unsigned int offset);
39#else 39#else
40static inline void tegra20_init_speedo_data(struct tegra_sku_info *sku_info) {} 40static inline void tegra20_init_speedo_data(struct tegra_sku_info *sku_info) {}
41static inline bool tegra20_spare_fuse_early(int spare_bit, void *fuse_base) 41static inline bool tegra20_spare_fuse_early(int spare_bit)
42{ 42{
43 return false; 43 return false;
44} 44}
45static inline void tegra20_init_fuse_early(void); 45static inline void tegra20_init_fuse_early(void) {}
46static inline tegra20_fuse_early(const unsigned int offset); 46static inline u32 tegra20_fuse_early(const unsigned int offset)
47{ 47{
48 return 0; 48 return 0;
49} 49}
50#endif 50#endif
51 51