PCI: tegra264: Don't initialise core_init_notifier

The 'core_init_notifier' has been removed from the pci_epc_features
structure in Linux v6.10. Given that this is a static structure and it
is initialised as 'false', we don't need to explicitly initialise this
because it will always be initialised as 'false' by default for kernels
that support this.

Bug 4787193
Bug 4593750

Change-Id: Ic2abaa3d2ab1a5c766a805936fd8ab394214bf42
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3233999
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Jon Hunter
2024-10-21 14:08:14 +01:00
parent 124386b140
commit a813cd8c7f

View File

@@ -537,7 +537,6 @@ static void tegra264_pcie_ep_stop(struct pci_epc *epc)
static const struct pci_epc_features tegra264_pcie_epc_features = { static const struct pci_epc_features tegra264_pcie_epc_features = {
.linkup_notifier = true, .linkup_notifier = true,
.core_init_notifier = false,
.msi_capable = true, .msi_capable = true,
.msix_capable = false, .msix_capable = false,
#if defined (NV_PCI_EPC_FEATURES_STRUCT_HAS_BAR) #if defined (NV_PCI_EPC_FEATURES_STRUCT_HAS_BAR)