diff options
-rw-r--r-- | drivers/hwmon/applesmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c index 3215f9c87f32..5456e8608892 100644 --- a/drivers/hwmon/applesmc.c +++ b/drivers/hwmon/applesmc.c | |||
@@ -1190,7 +1190,8 @@ static int __init applesmc_init(void) | |||
1190 | if (ret) | 1190 | if (ret) |
1191 | goto out_region; | 1191 | goto out_region; |
1192 | 1192 | ||
1193 | pdev = platform_device_register_simple("applesmc", -1, NULL, 0); | 1193 | pdev = platform_device_register_simple("applesmc", APPLESMC_DATA_PORT, |
1194 | NULL, 0); | ||
1194 | if (IS_ERR(pdev)) { | 1195 | if (IS_ERR(pdev)) { |
1195 | ret = PTR_ERR(pdev); | 1196 | ret = PTR_ERR(pdev); |
1196 | goto out_driver; | 1197 | goto out_driver; |