mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
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:
@@ -1,17 +1,11 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
// Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
#include <nvidia/conftest.h>
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
#include "ufs-provision.h"
|
||||
#include "ufs-tegra.h"
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
|
||||
#if defined(NV_UFS_UFSHCD_H_PRESENT)
|
||||
#include <ufs/ufshcd.h>
|
||||
#else
|
||||
#include <drivers-private/scsi/ufs/ufshcd.h>
|
||||
#endif
|
||||
|
||||
void debugfs_provision_init(struct ufs_hba *hba, struct dentry *device_root)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
// Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
#include <nvidia/conftest.h>
|
||||
|
||||
@@ -7,12 +7,8 @@
|
||||
#include "ufs-tegra.h"
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
|
||||
#if defined(NV_UFS_UFSHCD_H_PRESENT)
|
||||
#include <ufs/ufshcd.h>
|
||||
#include <drivers-private/scsi/ufs/ufshcd-priv.h>
|
||||
#else
|
||||
#include <drivers-private/scsi/ufs/ufshcd.h>
|
||||
#endif
|
||||
|
||||
#define CHECK_NULL(expr) \
|
||||
{ \
|
||||
|
||||
@@ -1,20 +1,13 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only
|
||||
*/
|
||||
// Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */
|
||||
|
||||
#ifndef _UFS_PROVISION_H
|
||||
#define _UFS_PROVISION_H
|
||||
|
||||
#include <nvidia/conftest.h>
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#if defined(NV_UFS_UFSHCD_H_PRESENT)
|
||||
#include <ufs/ufshcd.h>
|
||||
#else
|
||||
#include <drivers-private/scsi/ufs/ufshcd.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
#include <linux/debugfs.h>
|
||||
|
||||
@@ -27,17 +27,10 @@
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
|
||||
#if defined(NV_UFS_UFSHCD_H_PRESENT)
|
||||
#include <drivers-private/scsi/ufs/ufshcd-pltfrm.h>
|
||||
#include <ufs/ufshcd.h>
|
||||
#include <ufs/unipro.h>
|
||||
#include <ufs/ufshci.h>
|
||||
#else
|
||||
#include <drivers-private/scsi/ufs/ufshcd-pltfrm.h>
|
||||
#include <drivers-private/scsi/ufs/ufshcd.h>
|
||||
#include <drivers-private/scsi/ufs/unipro.h>
|
||||
#include <drivers-private/scsi/ufs/ufshci.h>
|
||||
#endif
|
||||
|
||||
#include "ufs-tegra.h"
|
||||
#include "ufs-provision.h"
|
||||
|
||||
Reference in New Issue
Block a user