diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-09-10 10:33:43 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-10 22:05:52 (GMT) |
commit | 4b5fcb353ba46adfa2f98546e3d34e7dc65221cb (patch) | |
tree | a6635e9b392917ac3607b776c616d9a9cc9bfe52 /drivers/acpi/scan.c | |
parent | 5000cadcf3188e935dae28c4fc7e24639704ea55 (diff) | |
download | linux-fsl-qoriq-4b5fcb353ba46adfa2f98546e3d34e7dc65221cb.tar.xz |
ACPI: acpi_driver_data could only be applied to acpi_device
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
CC: Hannes Reinecke <hare@suse.de>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index f6f52c1..e7b8853 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -384,7 +384,7 @@ static int acpi_device_remove(struct device * dev) acpi_drv->ops.remove(acpi_dev, acpi_dev->removal_type); } acpi_dev->driver = NULL; - acpi_driver_data(dev) = NULL; + acpi_driver_data(acpi_dev) = NULL; put_device(dev); return 0; |