]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/kernel/rtas_flash.c
kprobes: improve kretprobe scalability with hashed locking
[karo-tx-linux.git] / arch / powerpc / kernel / rtas_flash.c
index 0a5e22b22729f6b70443c1b0c9fb622aca4ea26e..09ded5c424a967cdaa0c1f5817bd7e301b971f60 100644 (file)
@@ -731,7 +731,7 @@ static const struct file_operations validate_flash_operations = {
        .release        = validate_flash_release,
 };
 
-int __init rtas_flash_init(void)
+static int __init rtas_flash_init(void)
 {
        int rc;
 
@@ -817,7 +817,7 @@ cleanup:
        return rc;
 }
 
-void __exit rtas_flash_cleanup(void)
+static void __exit rtas_flash_cleanup(void)
 {
        rtas_flash_term_hook = NULL;