]> 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>
Wed, 26 Sep 2012 01:32:59 +0000 (11:32 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 26 Sep 2012 05:41:24 +0000 (15:41 +1000)
commitd22eb60b36767f48e54003b0239f3d10053e2e8c
treee87a3c91b6e26f75958a555cffdf57030e26621b
parent07ea36a6b7353b98ec1d328b86faacaffb9ff5fa
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