summaryrefslogtreecommitdiff
path: root/source/components/hardware
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-07-28 17:44:36 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-07-28 17:44:36 +0000
commit834d4c5613e9c57c0b9fba46fa717fd7fb9d5891 (patch)
tree610a3598ffcd1fdcb97c475a59bccac84f41bbdd /source/components/hardware
parent744d47ba98ced2e2a7d3aff2f894136544386e34 (diff)
Notes
Diffstat (limited to 'source/components/hardware')
-rw-r--r--source/components/hardware/hwregs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/hardware/hwregs.c b/source/components/hardware/hwregs.c
index e90fd14829ee4..b5b23831fe9da 100644
--- a/source/components/hardware/hwregs.c
+++ b/source/components/hardware/hwregs.c
@@ -228,7 +228,7 @@ AcpiHwGetAccessBitWidth (
}
else if (Reg->AccessWidth)
{
- AccessBitWidth = (1 << (Reg->AccessWidth + 2));
+ AccessBitWidth = ACPI_ACCESS_BIT_WIDTH (Reg->AccessWidth);
}
else
{