[PATCH v6] PCI: Layerscape: Add Layerscape PCIe driver

Arnd Bergmann arnd at arndb.de
Thu Nov 13 09:08:54 PST 2014


On Thursday 13 November 2014 09:38:33 Bjorn Helgaas wrote:
> On Wed, Nov 05, 2014 at 04:45:11PM +0800, Minghuan Lian wrote:
> > Add support for Freescale Layerscape PCIe controller. This driver
> > re-uses the designware core code.
> > 
> > Signed-off-by: Minghuan Lian <Minghuan.Lian at freescale.com>
> 
> Applied with Arnd's ack to pci/host-layerscape for v3.19, thanks!
> 

the build bot just came back with an error:

  make.cross ARCH=xtensa 

All error/warnings:

>> drivers/pci/host/pcie-designware.c:168:52: warning: 'struct pci_sys_data' declared inside parameter list
    static inline struct pcie_port *sys_to_pcie(struct pci_sys_data *sys)
                                                       ^
>> drivers/pci/host/pcie-designware.c:168:52: warning: its scope is only this definition or declaration, which is probably not what you want
   drivers/pci/host/pcie-designware.c: In function 'sys_to_pcie':
   drivers/pci/host/pcie-designware.c:170:12: error: dereferencing pointer to incomplete type
     return sys->private_data;
               ^
   drivers/pci/host/pcie-designware.c: At top level:
>> drivers/pci/host/pcie-designware.c:397:45: warning: 'struct pci_sys_data' declared inside parameter list


The new Kconfig symbol evidently needs a 'depends on ARM'.

	Arnd



More information about the linux-arm-kernel mailing list