]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Add a unified uevent handler for bus based on of_device
authorSylvain Munaut <tnt@246tNt.com>
Mon, 12 Feb 2007 22:13:25 +0000 (23:13 +0100)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:13 +0000 (03:55 +1000)
commit9d1403dc583c1458f3a79cde93da1337d9f39f3d
tree455386938b4262543ec1861c340daf6f507d22cf
parente38aacb1224c7bc7de2bb424701822e1d3ef6d29
[POWERPC] Add a unified uevent handler for bus based on of_device

This common uevent handler allow the several bus types based on
of_device to generate the uevent properly and avoiding
code duplication.

This handlers take a struct device as argument and can therefore
be used as the uevent call directly if no special treatment is
needed for the bus.

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