summaryrefslogtreecommitdiff
path: root/include/acpi/acrestyp.h
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2017-08-03 09:26:19 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-04 00:34:15 +0300
commit4eebedd8f1a6609739c2e9a9b020791b23cbcceb (patch)
tree0f971e4f5bda4df87f5b2153d11b88b958ec8472 /include/acpi/acrestyp.h
parentab539eaa50c6a97f1d6287c5ce3ee75155cb10b8 (diff)
downloadlinux-4eebedd8f1a6609739c2e9a9b020791b23cbcceb.tar.xz
ACPICA: Divergences: reduce access size definitions
ACPICA commit cf27b3c98883d2a15d932016792fcb8272ace96d The following commit introduces definition of access width to ACPICA. Commit: 2bece49394872d36bbc5767fd643deac05920c55 Subject: ACPI: SPCR: Use access width to determine mmio usage Actually the access bit width can be calculated via access width. It would be better to define a macro calculating bit width rather than defining fixed values. This patch thus cleans up the definitions to reduce divergences. Link: https://github.com/acpica/acpica/commit/cf27b3c9 Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acrestyp.h')
-rw-r--r--include/acpi/acrestyp.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/acpi/acrestyp.h b/include/acpi/acrestyp.h
index 4f7f39a02820..343dbdcef20c 100644
--- a/include/acpi/acrestyp.h
+++ b/include/acpi/acrestyp.h
@@ -377,13 +377,6 @@ struct acpi_resource_generic_register {
u64 address;
};
-/* Generic Address Space Access Sizes */
-#define ACPI_ACCESS_SIZE_UNDEFINED 0
-#define ACPI_ACCESS_SIZE_BYTE 1
-#define ACPI_ACCESS_SIZE_WORD 2
-#define ACPI_ACCESS_SIZE_DWORD 3
-#define ACPI_ACCESS_SIZE_QWORD 4
-
struct acpi_resource_gpio {
u8 revision_id;
u8 connection_type;