diff options
Diffstat (limited to 'drivers/acpi/acpi_platform.c')
-rw-r--r-- | drivers/acpi/acpi_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c index 8a4cfc7e71f0..dbfe49e5fd63 100644 --- a/drivers/acpi/acpi_platform.c +++ b/drivers/acpi/acpi_platform.c | |||
@@ -111,7 +111,7 @@ int acpi_create_platform_device(struct acpi_device *adev, | |||
111 | pdevinfo.id = -1; | 111 | pdevinfo.id = -1; |
112 | pdevinfo.res = resources; | 112 | pdevinfo.res = resources; |
113 | pdevinfo.num_res = count; | 113 | pdevinfo.num_res = count; |
114 | pdevinfo.acpi_node.handle = adev->handle; | 114 | pdevinfo.acpi_node.companion = adev; |
115 | pdev = platform_device_register_full(&pdevinfo); | 115 | pdev = platform_device_register_full(&pdevinfo); |
116 | if (IS_ERR(pdev)) { | 116 | if (IS_ERR(pdev)) { |
117 | dev_err(&adev->dev, "platform device creation failed: %ld\n", | 117 | dev_err(&adev->dev, "platform device creation failed: %ld\n", |