For some Tegra SOCs, the function tegra_get_chip_id() returns u8
and for some other it returns u32.
Make the return type to be consistent and should return u8 data type.
bug
200260692
Change-Id: I1a2204ed2b34f706543a7b9630546c7fcb16de5a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1268604
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shardar Mohammed <smohammed@nvidia.com>
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
return tegra_chip_sku_id;
}
-u32 tegra_get_chip_id(void)
+u8 tegra_get_chip_id(void)
{
return tegra_chip_id;
}
#if defined(CONFIG_TEGRA_FUSE)
bool tegra_spare_fuse(int bit);
-u32 tegra_get_chip_id(void);
+u8 tegra_get_chip_id(void);
int tegra_get_sku_override(void);
u32 tegra_get_sku_id(void);
#endif