]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/edac/pnd2_edac.c
EDAC, pnd2: Make function sbi_send() static
[mirror_ubuntu-artful-kernel.git] / drivers / edac / pnd2_edac.c
index e1748d7e5190b8c71916474b8a659b6869402ef3..407f239553f4f024f549df3849047c0db1940d94 100644 (file)
@@ -131,7 +131,7 @@ static struct mem_ctl_info *pnd2_mci;
 
 #ifdef CONFIG_X86_INTEL_SBI_APL
 #include "linux/platform_data/sbi_apl.h"
-int sbi_send(int port, int off, int op, u32 *data)
+static int sbi_send(int port, int off, int op, u32 *data)
 {
        struct sbi_apl_message sbi_arg;
        int ret, read = 0;
@@ -160,7 +160,7 @@ int sbi_send(int port, int off, int op, u32 *data)
        return ret;
 }
 #else
-int sbi_send(int port, int off, int op, u32 *data)
+static int sbi_send(int port, int off, int op, u32 *data)
 {
        return -EUNATCH;
 }