|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] make otherend_changed entrypoint optional for xenbus
Ewan,
Here's the patch for making the otherend_changed entrypoint
optional. The USB driver doesn't need this entrypoint because the state
machine driven by it is factored out of the driver code entirely into
xenidc.
This is a resend. I forgot to put [PATCH] in the subject line last
time.
Signed-off-by: Harry Butterworth butterwo@xxxxxxxxxx
diff -r 595ef1ab007c -r 2089b7edcada
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Tue Nov
15 14:44:59 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Tue Nov
15 16:43:02 2005
@@ -299,8 +299,8 @@
DPRINTK("state is %d, %s, %s",
state, dev->otherend_watch.node, vec[XS_WATCH_PATH]);
-
- drv->otherend_changed(dev, state);
+ if (drv->otherend_changed)
+ drv->otherend_changed(dev, state);
}
otherend-optional-patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] make otherend_changed entrypoint optional for xenbus devices,
harry <=
|
|
|
|
|