diff options
author | Simon Glass <sjg@chromium.org> | 2019-02-16 20:24:40 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-02-20 15:21:44 +0800 |
commit | 11503be4480d5091fb59c563a0c357b6967c24ba (patch) | |
tree | 1084c3362e519a343fa6313d39efd3dfd8b6de56 /drivers/pci | |
parent | 2b5d029db8a6875a19e60e2e29e9dbe1d5d78968 (diff) |
pci: Don't export pci_hose_config_device()
This function is not used outside this file so make it static.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 221054593e..e2195726c8 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -184,11 +184,8 @@ pci_dev_t pci_find_devices(struct pci_device_id *ids, int index) return -1; } -int pci_hose_config_device(struct pci_controller *hose, - pci_dev_t dev, - unsigned long io, - pci_addr_t mem, - unsigned long command) +static int pci_hose_config_device(struct pci_controller *hose, pci_dev_t dev, + ulong io, pci_addr_t mem, ulong command) { u32 bar_response; unsigned int old_command; |