diff options
| -rw-r--r-- | drivers/sfi/sfi_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c index 1e824fb1649b..296db7a69c27 100644 --- a/drivers/sfi/sfi_core.c +++ b/drivers/sfi/sfi_core.c | |||
| @@ -161,7 +161,7 @@ static int sfi_verify_table(struct sfi_table_header *table) | |||
| 161 | * Check for common case that we can re-use mapping to SYST, | 161 | * Check for common case that we can re-use mapping to SYST, |
| 162 | * which requires syst_pa, syst_va to be initialized. | 162 | * which requires syst_pa, syst_va to be initialized. |
| 163 | */ | 163 | */ |
| 164 | struct sfi_table_header *sfi_map_table(u64 pa) | 164 | static struct sfi_table_header *sfi_map_table(u64 pa) |
| 165 | { | 165 | { |
| 166 | struct sfi_table_header *th; | 166 | struct sfi_table_header *th; |
| 167 | u32 length; | 167 | u32 length; |
| @@ -189,7 +189,7 @@ struct sfi_table_header *sfi_map_table(u64 pa) | |||
| 189 | * Undoes effect of sfi_map_table() by unmapping table | 189 | * Undoes effect of sfi_map_table() by unmapping table |
| 190 | * if it did not completely fit on same page as SYST. | 190 | * if it did not completely fit on same page as SYST. |
| 191 | */ | 191 | */ |
| 192 | void sfi_unmap_table(struct sfi_table_header *th) | 192 | static void sfi_unmap_table(struct sfi_table_header *th) |
| 193 | { | 193 | { |
| 194 | if (!TABLE_ON_PAGE(syst_va, th, th->len)) | 194 | if (!TABLE_ON_PAGE(syst_va, th, th->len)) |
| 195 | sfi_unmap_memory(th, TABLE_ON_PAGE(th, th, th->len) ? | 195 | sfi_unmap_memory(th, TABLE_ON_PAGE(th, th, th->len) ? |
