acpidump: Fix a duplicate variable definition

AcpiGbl_IntegerByteWidth has already been instantiated by ACPI_GLOBAL() in
acglobal.h. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
This commit is contained in:
Lv Zheng 2016-05-23 23:06:54 +08:00
parent a33ba9f856
commit fe92a821a0
2 changed files with 1 additions and 6 deletions

View File

@ -139,12 +139,6 @@ EXTERN ACPI_FILE INIT_GLOBAL (Gbl_OutputFile, NULL);
EXTERN char INIT_GLOBAL (*Gbl_OutputFilename, NULL);
EXTERN UINT64 INIT_GLOBAL (Gbl_RsdpBase, 0);
/* Globals required for use with ACPICA modules */
#ifdef _DECLARE_GLOBALS
UINT8 AcpiGbl_IntegerByteWidth = 8;
#endif
/* Action table used to defer requested options */
typedef struct ap_dump_action

View File

@ -427,6 +427,7 @@ acpi_main (
ACPI_DEBUG_INITIALIZE (); /* For debug version only */
AcpiOsInitialize ();
Gbl_OutputFile = ACPI_FILE_OUT;
AcpiGbl_IntegerByteWidth = 8;
/* Process command line options */