summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/nvram_64.c
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2016-09-06 08:32:40 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-09-13 10:35:47 +0300
commit7c98bd72081c44670e2d0b60aed364180ebc0611 (patch)
tree8c5a5ad636ae713e75580d229152d839ee0ee038 /arch/powerpc/kernel/nvram_64.c
parentbc42f1d9f5b31060a3c6b83983925852f0acbe15 (diff)
downloadlinux-7c98bd72081c44670e2d0b60aed364180ebc0611.tar.xz
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/kernel/nvram_64.c')
-rw-r--r--arch/powerpc/kernel/nvram_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/nvram_64.c b/arch/powerpc/kernel/nvram_64.c
index 64174bf95611..46c3c76f171b 100644
--- a/arch/powerpc/kernel/nvram_64.c
+++ b/arch/powerpc/kernel/nvram_64.c
@@ -851,7 +851,7 @@ static long dev_nvram_ioctl(struct file *file, unsigned int cmd,
}
}
-const struct file_operations nvram_fops = {
+static const struct file_operations nvram_fops = {
.owner = THIS_MODULE,
.llseek = dev_nvram_llseek,
.read = dev_nvram_read,