diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-06-23 04:48:55 -0400 |
|---|---|---|
| committer | Borislav Petkov <bp@suse.de> | 2017-06-26 10:13:25 -0400 |
| commit | 77641dacead2cbfe22d10f4e7c07867d86900057 (patch) | |
| tree | 557e06ceab37e79c0aa19e666ce567074660a4f4 | |
| parent | ee514c7a2379385fcec363f2f5f8db4eb56bc48c (diff) | |
EDAC, pnd2: Make function sbi_send() static
The function sbi_send() is local to just pnd2_edac.c and does not need
to be in global scope, so make it static.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170623084855.9197-1-colin.king@canonical.com
Signed-off-by: Borislav Petkov <bp@suse.de>
| -rw-r--r-- | drivers/edac/pnd2_edac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/pnd2_edac.c b/drivers/edac/pnd2_edac.c index e1748d7e5190..407f239553f4 100644 --- a/drivers/edac/pnd2_edac.c +++ b/drivers/edac/pnd2_edac.c | |||
| @@ -131,7 +131,7 @@ static struct mem_ctl_info *pnd2_mci; | |||
| 131 | 131 | ||
| 132 | #ifdef CONFIG_X86_INTEL_SBI_APL | 132 | #ifdef CONFIG_X86_INTEL_SBI_APL |
| 133 | #include "linux/platform_data/sbi_apl.h" | 133 | #include "linux/platform_data/sbi_apl.h" |
| 134 | int sbi_send(int port, int off, int op, u32 *data) | 134 | static int sbi_send(int port, int off, int op, u32 *data) |
| 135 | { | 135 | { |
| 136 | struct sbi_apl_message sbi_arg; | 136 | struct sbi_apl_message sbi_arg; |
| 137 | int ret, read = 0; | 137 | int ret, read = 0; |
| @@ -160,7 +160,7 @@ int sbi_send(int port, int off, int op, u32 *data) | |||
| 160 | return ret; | 160 | return ret; |
| 161 | } | 161 | } |
| 162 | #else | 162 | #else |
| 163 | int sbi_send(int port, int off, int op, u32 *data) | 163 | static int sbi_send(int port, int off, int op, u32 *data) |
| 164 | { | 164 | { |
| 165 | return -EUNATCH; | 165 | return -EUNATCH; |
| 166 | } | 166 | } |
