summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/hdaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/hdaps.c')
-rw-r--r--drivers/platform/x86/hdaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/hdaps.c b/drivers/platform/x86/hdaps.c
index 9996485f5295..f11f726d2062 100644
--- a/drivers/platform/x86/hdaps.c
+++ b/drivers/platform/x86/hdaps.c
@@ -547,7 +547,7 @@ static int __init hdaps_init(void)
if (ret)
goto out_region;
- pdev = platform_device_register_simple("hdaps", -1, NULL, 0);
+ pdev = platform_device_register_simple("hdaps", PLATFORM_DEVID_NONE, NULL, 0);
if (IS_ERR(pdev)) {
ret = PTR_ERR(pdev);
goto out_driver;