]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commiteb0cb8a07e320ed3237789cc4f29858338d14d8e
tree455386938b4262543ec1861c340daf6f507d22cf
parente049d1ca3094f3d1d94617f456a9961202f96e3a
[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