summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/oaktrail.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/intel/oaktrail.c')
-rw-r--r--drivers/platform/x86/intel/oaktrail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel/oaktrail.c b/drivers/platform/x86/intel/oaktrail.c
index 1a09a75bd16d..7c5c623630c1 100644
--- a/drivers/platform/x86/intel/oaktrail.c
+++ b/drivers/platform/x86/intel/oaktrail.c
@@ -317,7 +317,7 @@ static int __init oaktrail_init(void)
goto err_driver_reg;
}
- oaktrail_device = platform_device_alloc(DRIVER_NAME, -1);
+ oaktrail_device = platform_device_alloc(DRIVER_NAME, PLATFORM_DEVID_NONE);
if (!oaktrail_device) {
pr_warn("Unable to allocate platform device\n");
ret = -ENOMEM;