misc: tegra-fuse: Fix the static function warning
Amit Sharma [Mon, 8 Dec 2014 05:51:03 +0000 (10:51 +0530)]
Fixed the following sparse warning by including the "common.h" file:
tegra_fuse.c: warning: symbol 'tegra_get_sku_id' was not declared. \
                       Should it be static?
tegra_fuse.c: warning: symbol 'tegra_get_chip_id' was not declared. \
                       Should it be static?
tegra_fuse.c: warning: symbol 'tegra_get_bct_strapping' was not declared. \
                       Should it be static?

Bug 200032218

Change-Id: Iba7ca424a770972477ef857350e289d65eb21a8a
Signed-off-by: Amit Sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/660656
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

drivers/misc/tegra-fuse/tegra_fuse.c

index 53937bf..d27f852 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/tegra-soc.h>
 #include <linux/tegra-fuse.h>
 #include <../../arch/arm/mach-tegra/iomap.h>
+#include <linux/platform/tegra/common.h>
 
 #ifdef CONFIG_ARM64
 #include <asm/mmu.h>