diff options
author | Arnd Bergmann <arnd@arndb.de> | 2006-01-11 00:00:02 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-12 20:39:13 +1100 |
commit | 8446196ade39befe68f60cfae49c43b94a1144fc (patch) | |
tree | 5b246a1c926687228a62dabe7202c2284d278592 /arch/powerpc/platforms/pseries/scanlog.c | |
parent | b07dfab3e329955c218cd1d06efdb133c5c18ecd (diff) | |
download | lwn-8446196ade39befe68f60cfae49c43b94a1144fc.tar.gz lwn-8446196ade39befe68f60cfae49c43b94a1144fc.zip |
[PATCH] powerpc: pseries namespace cleanup
These symbols are only used in the file that they are defined in,
so they should not be in the global namespace.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/scanlog.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/scanlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/scanlog.c b/arch/powerpc/platforms/pseries/scanlog.c index 2edc947f7c44..50643496eb63 100644 --- a/arch/powerpc/platforms/pseries/scanlog.c +++ b/arch/powerpc/platforms/pseries/scanlog.c @@ -192,7 +192,7 @@ struct file_operations scanlog_fops = { .release = scanlog_release, }; -int __init scanlog_init(void) +static int __init scanlog_init(void) { struct proc_dir_entry *ent; @@ -222,7 +222,7 @@ int __init scanlog_init(void) return 0; } -void __exit scanlog_cleanup(void) +static void __exit scanlog_cleanup(void) { if (proc_ppc64_scan_log_dump) { kfree(proc_ppc64_scan_log_dump->data); |