[POWERPC] Add uevent handler for of_platform_bus
authorSylvain Munaut <tnt@246tNt.com>
Mon, 12 Feb 2007 22:13:27 +0000 (23:13 +0100)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:13 +0000 (03:55 +1000)
commit1f9209cfe06be715b82075e79c9aab3c5b714010
tree54c4b7abcfa0bc6ff84e8818d286ba3724473d1f
parentcc11645b9d04c3df5180620bded522e14e619604
[POWERPC] Add uevent handler for of_platform_bus

Adding this handler allow userspace to properly handle the module
autoloading. The generation of the uevent itself is now common to
all bus using of_device, so not much code here.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/of_platform.c