]> git.kernelconcepts.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>
Tue, 14 Aug 2012 03:22:25 +0000 (13:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 20 Aug 2012 07:07:59 +0000 (17:07 +1000)
commit2ccc78b34fcf88f0e58a1ef4fa4299fec12a2d9e
treea946575afa237e1df6cfe8327debfb658d055480
parent566455590b25546e46cb4de67823e39b6b6aa134
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