arm: tegra: fuse: replace globals with functions
authorShardar Shariff Md <smohammed@nvidia.com>
Thu, 17 Oct 2013 06:48:18 +0000 (11:48 +0530)
committerShardar Mohammed <smohammed@nvidia.com>
Mon, 21 Oct 2013 13:12:39 +0000 (06:12 -0700)
commit7e0c0beecbdb96cf4087ad3a7f10e372a0d8e159
treea060427716cb0a90dac5d414ed494a3bea0f959d
parentb0d979c91f815324afa2e978f805018310657b12
arm: tegra: fuse: replace globals with functions

Replace globals tegra_sku_id, tegra_chip_id &
tegra_bct_strapping with below functions
u32 tegra_get_sku_id(void);
u32 tegra_get_chip_id(void);
u32 tegra_get_bct_strapping(void);

Bug 1380004

Change-Id: I43eb2523e4af5d06bc1aa1f03c02c5168577878c
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/300401
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
23 files changed:
arch/arm/mach-tegra/board-dalmore-memory.c
arch/arm/mach-tegra/board-pluto-memory.c
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/edp.c
arch/arm/mach-tegra/edp_core.c
arch/arm/mach-tegra/fuse.h
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-tegra/powergate.c
arch/arm/mach-tegra/reset.c
arch/arm/mach-tegra/tegra11_dvfs.c
arch/arm/mach-tegra/tegra11_edp.c
arch/arm/mach-tegra/tegra11_emc.c
arch/arm/mach-tegra/tegra11_soctherm.c
arch/arm/mach-tegra/tegra11_speedo.c
arch/arm/mach-tegra/tegra12_edp.c
arch/arm/mach-tegra/tegra12_speedo.c
arch/arm/mach-tegra/tegra14_edp.c
arch/arm/mach-tegra/tegra14_speedo.c
arch/arm/mach-tegra/tegra20_speedo.c
arch/arm/mach-tegra/tegra2_emc.c
arch/arm/mach-tegra/tegra30_speedo.c
arch/arm/mach-tegra/tegra3_emc.c
arch/arm/mach-tegra/tegra_fuse.c