]> 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, 28 Sep 2012 00:18:50 +0000 (10:18 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Oct 2012 03:12:08 +0000 (14:12 +1100)
commit22d5601886f990a73fdee762a99b7f4273a95771
tree2ceab56a4714be623d8431d7f209bbceb567be7e
parentb1b68c95e151045b13a39f8b02b51823321ceba3
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