Skip to contentSkip to conversation

ibmebus: uevent support

PATCH New Joachim Fenkes 1 participant 1 message Mar 9, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 ibmebus: uevent support

This adds uevent support to ibmebus using the generic of_device_uevent() function.

---

I split this change into a separate patch because it depends on another patch against 2.6.20, submitted by Sylvain Munaut:
http://patchwork.ozlabs.org/linuxppc/patch?id=9558

 ibmebus.c |    1 +
 1 file changed, 1 insertion(+)
arch/powerpc/kernel/ibmebus.c +1 -0
diff -Nurp 03.almost-all/arch/powerpc/kernel/ibmebus.c 04.uevent/arch/powerpc/kernel/ibmebus.c
@@ -460,6 +460,7 @@ static struct bus_attribute ibmebus_bus_
 
 struct bus_type ibmebus_bus_type = {
 	.name      = "ibmebus",
+	.uevent    = of_device_uevent,
 	.match     = ibmebus_bus_match,
 	.dev_attrs = ibmebus_dev_attrs,
 	.bus_attrs = ibmebus_bus_attrs