smbios: Make SMBios21Addr variable static
The variable is now only used inside biostables.c, there's no need to make it global. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
107391619a
commit
33fa7082b8
|
@ -296,7 +296,7 @@ smbios_21_next(struct smbios_21_entry_point *smbios, void *prev)
|
|||
smbios->structure_table_length, prev);
|
||||
}
|
||||
|
||||
struct smbios_21_entry_point *SMBios21Addr;
|
||||
static struct smbios_21_entry_point *SMBios21Addr;
|
||||
|
||||
void
|
||||
copy_smbios_21(void *pos)
|
||||
|
|
|
@ -87,7 +87,6 @@ void *find_acpi_table(u32 signature);
|
|||
u32 find_resume_vector(void);
|
||||
void acpi_reboot(void);
|
||||
void find_acpi_features(void);
|
||||
extern struct smbios_21_entry_point *SMBios21Addr;
|
||||
void *smbios_get_tables(u32 *length);
|
||||
void copy_smbios_21(void *pos);
|
||||
void display_uuid(void);
|
||||
|
|
Loading…
Reference in New Issue