]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acpi_memhotplug.c: auto bind the memory device which is hotplugged before the driver...
authorWen Congyang <wency@cn.fujitsu.com>
Fri, 28 Sep 2012 00:18:50 +0000 (10:18 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 8 Oct 2012 02:57:35 +0000 (13:57 +1100)
commitf4a0380a3866e17a0938966cceacb9fe45a364dc
treedfbf27f04d098af07c027929af82ef26f6bf3881
parent86688022b8748aa8777cac3f235744c3458ae77d
acpi_memhotplug.c: auto bind the memory device which is hotplugged before the driver is loaded

If the memory device is hotplugged before the driver is loaded, the user
cannot see this device under the directory /sys/bus/acpi/devices/, and the
user cannot bind it by hand after the driver is loaded.  This patch
introduces a new feature to bind such device 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