Skip to content

Commit

Permalink
powerpc/pci: Make pcibios_make_OF_bus_map() static
Browse files Browse the repository at this point in the history
Function pcibios_make_OF_bus_map() is used only in pci_32.c. So make it
static.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220706104308.5390-3-pali@kernel.org
  • Loading branch information
Pali Rohár authored and Michael Ellerman committed Jul 27, 2022
1 parent a2954a7 commit 407a767
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/powerpc/kernel/pci_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ int pcibios_assign_bus_offset = 1;
EXPORT_SYMBOL(isa_io_base);
EXPORT_SYMBOL(pci_dram_offset);

void __init pcibios_make_OF_bus_map(void);

static void fixup_cpc710_pci64(struct pci_dev* dev);
static u8* pci_to_OF_bus_map;

Expand Down Expand Up @@ -108,7 +106,7 @@ make_one_node_map(struct device_node* node, u8 pci_bus)
}
}

void __init
static void __init
pcibios_make_OF_bus_map(void)
{
int i;
Expand Down

0 comments on commit 407a767

Please sign in to comment.