Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Lv Zheng Newsgroups: linux.kernel Subject: [PATCH 2/5] ACPICA: Tables: Remove wrong table event macros Date: Tue, 16 Aug 2016 11:00:01 +0200 Message-ID: References: X-Original-To: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Len Brown X-Extloop1: 1 X-Ironport-Av: E=Sophos;i="5.28,529,1464678000"; d="scan'208";a="1041926959" X-Mailer: git-send-email 1.7.10 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 41 Organization: linux.* mail to news gateway X-Original-Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org X-Original-Date: Tue, 16 Aug 2016 16:52:55 +0800 X-Original-Message-ID: X-Original-References: X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1463556 There are wrong table event macros, this patch cleans them up. Signed-off-by: Lv Zheng --- include/acpi/actypes.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index e96907b..892595f 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h @@ -1034,12 +1034,6 @@ struct acpi_statistics { u32 method_count; }; -/* Table Event Types */ - -#define ACPI_TABLE_EVENT_LOAD 0x0 -#define ACPI_TABLE_EVENT_UNLOAD 0x1 -#define ACPI_NUM_TABLE_EVENTS 2 - /* * Types specific to the OS service interfaces */ @@ -1091,9 +1085,11 @@ acpi_status (*acpi_exception_handler) (acpi_status aml_status, typedef acpi_status (*acpi_table_handler) (u32 event, void *table, void *context); -#define ACPI_TABLE_LOAD 0x0 -#define ACPI_TABLE_UNLOAD 0x1 -#define ACPI_NUM_TABLE_EVENTS 2 +/* Table Event Types */ + +#define ACPI_TABLE_EVENT_LOAD 0x0 +#define ACPI_TABLE_EVENT_UNLOAD 0x1 +#define ACPI_NUM_TABLE_EVENTS 2 /* Address Spaces (For Operation Regions) */ -- 1.7.10