[PATCH 3/3] ibmebus: uevent support

From: Joachim Fenkes
Date: Fri Mar 09 2007 - 13:05:03 EST


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


Signed-off-by: Joachim Fenkes <fenkes@xxxxxxxxxx>
---


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(+)


diff -Nurp 03.almost-all/arch/powerpc/kernel/ibmebus.c 04.uevent/arch/powerpc/kernel/ibmebus.c
--- 03.almost-all/arch/powerpc/kernel/ibmebus.c 2007-03-09 17:37:08.309979440 +0100
+++ 04.uevent/arch/powerpc/kernel/ibmebus.c 2007-03-07 19:07:53.000000000 +0100
@@ -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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/