linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the pci tree with the tegra tree
@ 2016-07-01  1:09 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2016-07-01  1:09 UTC (permalink / raw)
  To: Bjorn Helgaas, Stephen Warren, Colin Cross, Olof Johansson,
	Thierry Reding
  Cc: linux-next, linux-kernel

Hi Bjorn,

Today's linux-next merge of the pci tree got a conflict in:

  drivers/pci/host/pci-tegra.c

between commit:

  e8a64f7a44be ("PCI: tegra: Use pci_remap_iospace()")

from the tegra tree and commit:

  a73253d223df ("PCI: tegra: Request host bridge window resources with core function")

from the pci tree.

I fixed it up (hopefully - see below) and can carry the fix as
necessary. This is now fixed as far as linux-next is concerned, but any
non trivial conflicts should be mentioned to your upstream maintainer
when your tree is submitted for merging.  You may also want to consider
cooperating with the maintainer of the conflicting tree to minimise any
particularly complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc drivers/pci/host/pci-tegra.c
index 7689f448ff92,6e6ef0d3d739..000000000000
--- a/drivers/pci/host/pci-tegra.c
+++ b/drivers/pci/host/pci-tegra.c
@@@ -620,17 -626,7 +619,7 @@@ static int tegra_pcie_setup(int nr, str
  	if (err < 0)
  		return err;
  
- 	err = devm_request_resource(pcie->dev, &ioport_resource, &pcie->pio);
- 	if (err < 0)
- 		return err;
- 
- 	err = devm_request_resource(pcie->dev, &pcie->all, &pcie->mem);
- 	if (err < 0)
- 		return err;
- 
- 	err = devm_request_resource(pcie->dev, &pcie->all, &pcie->prefetch);
- 	if (err)
- 		return err;
 -	pci_ioremap_io(pcie->pio.start, pcie->io.start);
++	pci_remap_iospace(&pcie->pio, pcie->io.start);
  
  	pci_add_resource_offset(&sys->resources, &pcie->pio, sys->io_offset);
  	pci_add_resource_offset(&sys->resources, &pcie->mem, sys->mem_offset);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-01  1:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01  1:09 linux-next: manual merge of the pci tree with the tegra tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).