diff options
author | Daniel Axtens <dja@axtens.net> | 2016-09-06 08:32:40 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-13 10:35:47 +0300 |
commit | 7c98bd72081c44670e2d0b60aed364180ebc0611 (patch) | |
tree | 8c5a5ad636ae713e75580d229152d839ee0ee038 /arch/powerpc/kernel/nvram_64.c | |
parent | bc42f1d9f5b31060a3c6b83983925852f0acbe15 (diff) | |
download | linux-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.c | 2 |
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, |