]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acpi_memhotplug.c: bind the memory device when the driver is being loaded
authorWen Congyang <wency@cn.fujitsu.com>
Fri, 12 Oct 2012 04:22:48 +0000 (15:22 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 19 Oct 2012 02:09:21 +0000 (13:09 +1100)
commit6fc8f42aee67e661a8f3fb92162b8557fcd403de
tree769432016595e74e4d7c7c05aa641cac7abd09ea
parent2e587da4adefd23f48b7976390450c23d7225387
acpi_memhotplug.c: 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>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/acpi/acpi_memhotplug.c