X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fohci-dbg.c;h=582a55a60b0b7a3707269a8c255d157dcf6f8499;hb=2cf7311f007833d5818fc9241c09a372c0325a4a;hp=54daaacdc8c94e20b08674bab2980d3f91999104;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c index 54daaacdc..582a55a60 100644 --- a/drivers/usb/host/ohci-dbg.c +++ b/drivers/usb/host/ohci-dbg.c @@ -266,11 +266,11 @@ static void ohci_dump (struct ohci_hcd *controller, int verbose) ohci_dbg (controller, "OHCI controller state\n"); // dumps some of the state we know about - ohci_dump_status (controller, NULL, NULL); + ohci_dump_status (controller, NULL, 0); if (controller->hcca) ohci_dbg (controller, "hcca frame #%04x\n", OHCI_FRAME_NO(controller->hcca)); - ohci_dump_roothub (controller, 1, NULL, NULL); + ohci_dump_roothub (controller, 1, NULL, 0); } static const char data0 [] = "DATA0"; @@ -574,7 +574,7 @@ show_periodic (struct class_device *class_dev, char *buf) } else { /* we've seen it and what's after */ temp = 0; - ed = NULL; + ed = 0; } } while (ed);