mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Revert "PCI: endpoint: Fix DMA sanity for Linux v6.11"
This reverts commit 2f3e25b601c241bf50a30b07a0aaa64413c57925. Reason for revert: Changing this to tests-oot directory Bug 4865361 Change-Id: I19002466616450cf073e2a66a1dd27da9e3409a2 Signed-off-by: Srishti Goel <srgoel@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3246783 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
#include <nvidia/conftest.h>
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/msi.h>
|
||||
@@ -350,11 +349,7 @@ static const struct pci_epf_device_id pcie_dma_epf_sanity_ids[] = {
|
||||
};
|
||||
|
||||
static const struct pci_epc_event_ops pci_epf_dma_sanity_event_ops = {
|
||||
#if defined(NV_PCI_EPC_EVENT_OPS_STRUCT_HAS_EPC_INIT) /* Linux v6.11 */
|
||||
.epc_init = pcie_epf_dma_sanity_core_init,
|
||||
#else
|
||||
.core_init = pcie_epf_dma_sanity_core_init,
|
||||
#endif
|
||||
};
|
||||
|
||||
static struct pci_epf_ops ops = {
|
||||
|
||||
Reference in New Issue
Block a user