summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/lenovo/x60/dock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x60/dock.c b/src/mainboard/lenovo/x60/dock.c
index ca82d388ab..c2bed9a087 100644
--- a/src/mainboard/lenovo/x60/dock.c
+++ b/src/mainboard/lenovo/x60/dock.c
@@ -255,7 +255,7 @@ void dock_disconnect(void)
int dock_present(void)
{
- return !((inb(DEFAULT_GPIOBASE + 0x0c) >> 13) & 1);
+ return !((inw(DEFAULT_GPIOBASE + 0x0c) >> 13) & 1);
}
int dock_ultrabay_device_present(void)