]> 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, 7 Sep 2012 00:17:49 +0000 (10:17 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Sep 2012 07:08:16 +0000 (17:08 +1000)
commit9cd5ad764cf1e5467dd539b467aff8ed8a148a1b
tree33fe828abe1878d4e9cbccb25b0184fded6ec7f8
parentda05d8ae9c6f035b106fa8e6afa985dcd28a86d4
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