mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
scsi: ufs: Make functions static and remove unused functions
Sparse is reporting following warnings: warning: symbol 'ufs_tegra_disable_mphy_slcg' was not declared. warning: symbol 'ufs_tegra_mphy_tx_advgran' was not declared. warning: symbol 'ufs_tegra_mphy_rx_advgran' was not declared. warning: symbol 'ufs_tegra_ufs_aux_ref_clk_enable' was not declared. warning: symbol 'ufs_tegra_ufs_aux_ref_clk_disable' was not declared. warning: symbol 'ufs_tegra_aux_reset_enable' was not declared warning: symbol 'ufs_tegra_ufs_aux_prog' was not declared. Resolve these issues by making them static and remove functions that are not getting called. Bug 3954363 Change-Id: I59b2feeb45c93d8e51dca4fb0d3c752043c15ecd Signed-off-by: Abhilash G <abhilashg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2855754 Reviewed-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
5957f061b3
commit
60153c77c1
@@ -63,4 +63,5 @@ struct ufs_ioc_combo_query_req {
|
||||
struct ufs_ioc_query_req *query;
|
||||
};
|
||||
|
||||
#endif /* UAPI_SCSI_UFS_UFS_IOCTL_H_ */
|
||||
#endif /* UAPI_SCSI_UFS_UFS_IOCTL_H_ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user