mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 18:21:35 +03:00
Clean-up the UFS headers by adding a new top-level header for ufshcd.h, ufshci.h and unipro.h that will include the appropriate header depending on kernel version. This saves replicating the kernel version check for every source file that includes these headers. Note that the ufshcd-pltfrm.h header is identical between v5.15, v5.16 and 6.1 kernels and so remove the duplicated versions of this header and just use a common header for all kernel versions. Bug 4221847 Change-Id: I0e0ba2f4389af7e34ab62e3131141405d87aeeb1 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2996211 Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>