summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2016-09-06 07:32:40 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-09-13 09:35:47 +0200
commit7c98bd72081c44670e2d0b60aed364180ebc0611 (patch)
tree8c5a5ad636ae713e75580d229152d839ee0ee038 /arch/powerpc/sysdev
parentpowerpc/cell: Drop unused iic_get_irq_host() (diff)
downloadlinux-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/sysdev')
-rw-r--r--arch/powerpc/sysdev/mmio_nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/mmio_nvram.c b/arch/powerpc/sysdev/mmio_nvram.c
index 69f5814ae6d4..c31f634f1973 100644
--- a/arch/powerpc/sysdev/mmio_nvram.c
+++ b/arch/powerpc/sysdev/mmio_nvram.c
@@ -89,7 +89,7 @@ static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index)
return count;
}
-void mmio_nvram_write_val(int addr, unsigned char val)
+static void mmio_nvram_write_val(int addr, unsigned char val)
{
unsigned long flags;