提交 601a1b92 编写于 作者: S Stephen Rothwell 提交者: Richard Purdie

leds/acpi: Fix merge fallout from acpi_driver_data change

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
上级 fbf0baee
......@@ -98,7 +98,7 @@ static int hpled_add(struct acpi_device *device)
adev.device = device;
strcpy(acpi_device_name(device), DRIVER_NAME);
strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
acpi_driver_data(device) = &adev;
device->driver_data = &adev;
ret = led_classdev_register(NULL, &hpled_led);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册