diff options
author | Daniel Axtens <dja@axtens.net> | 2016-09-06 07:32:40 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-13 09:35:47 +0200 |
commit | 7c98bd72081c44670e2d0b60aed364180ebc0611 (patch) | |
tree | 8c5a5ad636ae713e75580d229152d839ee0ee038 /arch/powerpc/platforms/pasemi/iommu.c | |
parent | powerpc/cell: Drop unused iic_get_irq_host() (diff) | |
download | linux-7c98bd72081c44670e2d0b60aed364180ebc0611.tar.xz linux-7c98bd72081c44670e2d0b60aed364180ebc0611.zip |
powerpc/sparse: Make a bunch of things static
Squash a bunch of sparse warnings by making things static.
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/iommu.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pasemi/iommu.c b/arch/powerpc/platforms/pasemi/iommu.c index c61667e8bb06..e74adc4e7fd8 100644 --- a/arch/powerpc/platforms/pasemi/iommu.c +++ b/arch/powerpc/platforms/pasemi/iommu.c @@ -199,7 +199,7 @@ static void pci_dma_dev_setup_pasemi(struct pci_dev *dev) set_iommu_table_base(&dev->dev, &iommu_table_iobmap); } -int __init iob_init(struct device_node *dn) +static int __init iob_init(struct device_node *dn) { unsigned long tmp; u32 regword; |