From mboxrd@z Thu Jan 1 00:00:00 1970 From: thierry.reding@gmail.com (Thierry Reding) Date: Fri, 11 Jul 2014 14:16:07 +0200 Subject: [PATCH 08/12] misc: fuse: fix dummy functions In-Reply-To: <1405080971-7609-1-git-send-email-thierry.reding@gmail.com> References: <1405080971-7609-1-git-send-email-thierry.reding@gmail.com> Message-ID: <1405080971-7609-9-git-send-email-thierry.reding@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Stephen Warren 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: 3aa9ba4b265b ("soc/tegra: Add efuse driver for Tegra") Cc: Peter De Schrijver Signed-off-by: Stephen Warren Signed-off-by: Thierry Reding --- drivers/soc/tegra/fuse/fuse.h | 10 +++++----- 1 file 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); 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 -- 2.0.1