Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/arch/arm/omap ehci_init returns int not usb_status_t
details: https://anonhg.NetBSD.org/src/rev/1e19956a14b0
branches: nick-nhusb
changeset: 334192:1e19956a14b0
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Apr 06 12:15:32 2015 +0000
description:
ehci_init returns int not usb_status_t
diffstat:
sys/arch/arm/omap/omap3_ehci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b88a4e271d00 -r 1e19956a14b0 sys/arch/arm/omap/omap3_ehci.c
--- a/sys/arch/arm/omap/omap3_ehci.c Mon Apr 06 12:14:22 2015 +0000
+++ b/sys/arch/arm/omap/omap3_ehci.c Mon Apr 06 12:15:32 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap3_ehci.c,v 1.10.6.2 2014/12/03 12:52:05 skrll Exp $ */
+/* $NetBSD: omap3_ehci.c,v 1.10.6.3 2015/04/06 12:15:32 skrll Exp $ */
/*-
* Copyright (c) 2010-2012 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap3_ehci.c,v 1.10.6.2 2014/12/03 12:52:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap3_ehci.c,v 1.10.6.3 2015/04/06 12:15:32 skrll Exp $");
#include "locators.h"
@@ -332,7 +332,7 @@
omap3_ehci_find_companions(sc);
err = ehci_init(&sc->sc);
- if (err != USBD_NORMAL_COMPLETION) {
+ if (err) {
aprint_error_dev(self, "init failed, error = %d\n", err);
return;
}
Home |
Main Index |
Thread Index |
Old Index