mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
PCI: #if 0 pci_assign_resource_fixed()
An unused function that bloated the kernel only when CONFIG_EMBEDDED was enabled... Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4b5ff46923
commit
2baad5f96b
@ -171,7 +171,7 @@ int pci_assign_resource(struct pci_dev *dev, int resno)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_EMBEDDED
|
#if 0
|
||||||
int pci_assign_resource_fixed(struct pci_dev *dev, int resno)
|
int pci_assign_resource_fixed(struct pci_dev *dev, int resno)
|
||||||
{
|
{
|
||||||
struct pci_bus *bus = dev->bus;
|
struct pci_bus *bus = dev->bus;
|
||||||
|
@ -601,7 +601,6 @@ int pcie_get_readrq(struct pci_dev *dev);
|
|||||||
int pcie_set_readrq(struct pci_dev *dev, int rq);
|
int pcie_set_readrq(struct pci_dev *dev, int rq);
|
||||||
void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno);
|
void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno);
|
||||||
int __must_check pci_assign_resource(struct pci_dev *dev, int i);
|
int __must_check pci_assign_resource(struct pci_dev *dev, int i);
|
||||||
int __must_check pci_assign_resource_fixed(struct pci_dev *dev, int i);
|
|
||||||
int pci_select_bars(struct pci_dev *dev, unsigned long flags);
|
int pci_select_bars(struct pci_dev *dev, unsigned long flags);
|
||||||
|
|
||||||
/* ROM control related routines */
|
/* ROM control related routines */
|
||||||
|
Loading…
Reference in New Issue
Block a user