ufs: tegra: Remove legacy headers

Linux v5.x kernels are no longer supported and so remove all the legacy
UFS related headers for these kernels.

Bug 3978622
JIRA LINQPJ14-47

Change-Id: I6e514305d30f93d74bd75fc335db69ced79b3866
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3349975
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
This commit is contained in:
Jon Hunter
2025-04-25 16:18:52 +01:00
parent b3c970d8f9
commit b8e8f99bbd
21 changed files with 9 additions and 6159 deletions

View File

@@ -281,8 +281,7 @@ NV_HEADER_PRESENCE_TESTS = \
linux/iosys-map.h \
linux/tegra_prod.h \
net/gso.h \
net/page_pool.h \
ufs/ufshcd.h
net/page_pool.h
# Filename to store the define for the header in $(1); this is only consumed by
# the rule below that concatenates all of these together.

View File

@@ -8837,11 +8837,7 @@ compile_test() {
# function making the 3rd argument of type const.
#
CODE="
#if defined(NV_UFS_UFSHCD_H_PRESENT)
#include <ufs/ufshcd.h>
#else
#include \"../drivers/scsi/ufs/ufshcd.h\"
#endif
void conftest(struct ufs_hba_variant_ops *ops) {
int (*fn)(struct ufs_hba *hba,
enum ufs_notify_change_status status,
@@ -8864,11 +8860,7 @@ compile_test() {
# 'struct ufs_hba_variant_ops'.
#
CODE="
#if defined(NV_UFS_UFSHCD_H_PRESENT)
#include <ufs/ufshcd.h>
#else
#include \"../drivers/scsi/ufs/ufshcd.h\"
#endif
void conftest_ufs_hba_variant_ops_suspend_has_status_arg(
struct ufs_hba_variant_ops *ops) {
int (*fn)(struct ufs_hba *, enum ufs_pm_op,