mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
@@ -184,11 +184,8 @@ pci_dev_t pci_find_devices(struct pci_device_id *ids, int index)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int pci_hose_config_device(struct pci_controller *hose,
|
static int pci_hose_config_device(struct pci_controller *hose, pci_dev_t dev,
|
||||||
pci_dev_t dev,
|
ulong io, pci_addr_t mem, ulong command)
|
||||||
unsigned long io,
|
|
||||||
pci_addr_t mem,
|
|
||||||
unsigned long command)
|
|
||||||
{
|
{
|
||||||
u32 bar_response;
|
u32 bar_response;
|
||||||
unsigned int old_command;
|
unsigned int old_command;
|
||||||
|
@@ -735,12 +735,6 @@ extern pci_dev_t pci_find_device (unsigned int vendor, unsigned int device, int
|
|||||||
extern pci_dev_t pci_find_devices (struct pci_device_id *ids, int index);
|
extern pci_dev_t pci_find_devices (struct pci_device_id *ids, int index);
|
||||||
pci_dev_t pci_find_class(unsigned int find_class, int index);
|
pci_dev_t pci_find_class(unsigned int find_class, int index);
|
||||||
|
|
||||||
extern int pci_hose_config_device(struct pci_controller *hose,
|
|
||||||
pci_dev_t dev,
|
|
||||||
unsigned long io,
|
|
||||||
pci_addr_t mem,
|
|
||||||
unsigned long command);
|
|
||||||
|
|
||||||
extern int pci_hose_find_capability(struct pci_controller *hose, pci_dev_t dev,
|
extern int pci_hose_find_capability(struct pci_controller *hose, pci_dev_t dev,
|
||||||
int cap);
|
int cap);
|
||||||
extern int pci_hose_find_cap_start(struct pci_controller *hose, pci_dev_t dev,
|
extern int pci_hose_find_cap_start(struct pci_controller *hose, pci_dev_t dev,
|
||||||
|
Reference in New Issue
Block a user