aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/applesmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index b06b8e090a27..b401975bc0da 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -325,7 +325,7 @@ static int applesmc_get_key_type(char* key, char* type)
325 return -EIO; 325 return -EIO;
326 } 326 }
327 327
328 outb(5, APPLESMC_DATA_PORT); 328 outb(6, APPLESMC_DATA_PORT);
329 329
330 for (i = 0; i < 6; i++) { 330 for (i = 0; i < 6; i++) {
331 if (__wait_status(0x05)) 331 if (__wait_status(0x05))