Bjorn Helgaas e3b87f8a9d ACPI: handle re-enumeration, when acpi_devices might already exist
acpi_bus_scan() traverses the namespace to enumerate devices and uses
acpi_add_single_object() to create acpi_devices.  When the platform
notifies us of a hot-plug event, we need to traverse part of the namespace
again to figure out what appeared or disappeared.  (We don't yet call
acpi_bus_scan() during hot-plug, but I plan to do that in the future.)

This patch makes acpi_add_single_object() notice when we already have
an acpi_device, so we don't need to make a new one.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-09-25 14:24:32 -04:00
..
2009-09-19 01:56:17 -04:00
2009-09-25 14:24:30 -04:00
2009-09-19 01:45:22 -04:00
2009-09-19 01:45:22 -04:00
2009-09-19 02:14:45 -04:00
2009-09-19 01:45:22 -04:00
2009-09-24 09:34:38 +09:30
2009-06-17 23:32:23 -04:00
2009-09-19 00:37:13 -04:00
2009-09-19 00:06:59 -04:00
2009-09-19 02:31:39 -04:00