ACPI / memhotplug: bind the memory device when the driver is being loaded
authorWen Congyang <wency@cn.fujitsu.com>
Fri, 16 Nov 2012 01:12:38 +0000 (02:12 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Nov 2012 01:12:38 +0000 (02:12 +0100)
commit61d8eff14417fb6d6c5d57e4f0f7925e9e99fce3
treea920e7934dc08f036bdffb78b77c7030c410a2a6
parent65479472571fbf91502b7854be45ec0026b5229e
ACPI / memhotplug: bind the memory device when the driver is being loaded

We had introduced acpi_hotmem_initialized to avoid strange add_memory fail
message.  But the memory device may not be used by the kernel, and the
device should be bound when the driver is being loaded.  Remove
acpi_hotmem_initialized to allow that the device can be bound when the
driver is being loaded.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_memhotplug.c