diff options
author | Anton Blanchard <anton@samba.org> | 2014-08-20 00:55:18 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-09-25 15:14:41 +0200 |
commit | e51df2c170efaeadce4d416e1825b0830de0a795 (patch) | |
tree | e3fa881027448042f5a2915e7f1c58ddecd6c82f /arch/powerpc/sysdev/msi_bitmap.c | |
parent | powerpc: Separate ppc32 symbol exports into ppc_ksyms_32.c (diff) | |
download | linux-e51df2c170efaeadce4d416e1825b0830de0a795.tar.xz linux-e51df2c170efaeadce4d416e1825b0830de0a795.zip |
powerpc: Make a bunch of things static
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/msi_bitmap.c')
-rw-r--r-- | arch/powerpc/sysdev/msi_bitmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/msi_bitmap.c b/arch/powerpc/sysdev/msi_bitmap.c index 2ff630267e9e..a7c7a9fc7530 100644 --- a/arch/powerpc/sysdev/msi_bitmap.c +++ b/arch/powerpc/sysdev/msi_bitmap.c @@ -143,7 +143,7 @@ void msi_bitmap_free(struct msi_bitmap *bmp) #define check(x) \ if (!(x)) printk("msi_bitmap: test failed at line %d\n", __LINE__); -void __init test_basics(void) +static void __init test_basics(void) { struct msi_bitmap bmp; int i, size = 512; @@ -188,7 +188,7 @@ void __init test_basics(void) kfree(bmp.bitmap); } -void __init test_of_node(void) +static void __init test_of_node(void) { u32 prop_data[] = { 10, 10, 25, 3, 40, 1, 100, 100, 200, 20 }; const char *expected_str = "0-9,20-24,28-39,41-99,220-255"; @@ -236,7 +236,7 @@ void __init test_of_node(void) kfree(bmp.bitmap); } -int __init msi_bitmap_selftest(void) +static int __init msi_bitmap_selftest(void) { printk(KERN_DEBUG "Running MSI bitmap self-tests ...\n"); |