]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: mobiveil: Add missing ../pci.h include
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 30 Jul 2018 12:24:33 +0000 (13:24 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 30 Jul 2018 13:30:12 +0000 (14:30 +0100)
commitc8bda9d06b814c6aaf2bf4f5d4b4e823feccd24a
tree91bdcc8284eaaf388b715bec780af7b74ecdb27c
parent0c140625992d836e2b487bdaa4225e476e4c4b91
PCI: mobiveil: Add missing ../pci.h include

PCI mobiveil host controller driver currently fails to compile
with the following error:

drivers/pci/controller/pcie-mobiveil.c: In function
'mobiveil_pcie_probe':
drivers/pci/controller/pcie-mobiveil.c:788:8: error: implicit
declaration of function 'devm_of_pci_get_host_bridge_resources'; did you
mean 'pci_get_host_bridge_device'?
[-Werror=implicit-function-declaration]
  ret = devm_of_pci_get_host_bridge_resources(dev, 0, 0xff,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        pci_get_host_bridge_device

Add the missing include file to pull in the required function declaration.

Fixes: f1600fbd0298 ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP
driver")
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Subrahmanya Lingappa <l.subrahmanya@mobiveil.co.in>
drivers/pci/controller/pcie-mobiveil.c