Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6ed42a7 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras
Browse files

[POWERPC] The pci_dn pcidev is only used by EEH

parent 86bcab49
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -438,7 +438,6 @@ void __init iSeries_pcibios_fixup_resources(struct pci_dev *pdev)
	}

	pdev->sysdata = node;
	PCI_DN(node)->pcidev = pdev;
	allocate_device_bars(pdev);
	iseries_device_information(pdev, bus, *sub_bus);
	iommu_devnode_init_iSeries(pdev, node);
+1 −1
Original line number Diff line number Diff line
@@ -170,12 +170,12 @@ struct pci_dn {

	struct  pci_controller *phb;	/* for pci devices */
	struct	iommu_table *iommu_table;	/* for phb's or bridges */
	struct	pci_dev *pcidev;	/* back-pointer to the pci device */
	struct	device_node *node;	/* back-pointer to the device_node */

	int	pci_ext_config_space;	/* for pci devices */

#ifdef CONFIG_EEH
	struct	pci_dev *pcidev;	/* back-pointer to the pci device */
	int	class_code;		/* pci device class */
	int	eeh_mode;		/* See eeh.h for possible EEH_MODEs */
	int	eeh_config_addr;