]> 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>
Tue, 14 Aug 2012 03:22:25 +0000 (13:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 17 Aug 2012 04:48:07 +0000 (14:48 +1000)
commite25f313e43f5ae181ae4eeb9aaf109404ef0a554
tree4d02d0afb74619ab8cbf00ce36a65b1db2ef0eff
parentd3a3e656a6b790c76cd31f037fe7ba6fe749ea87
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