summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_ral.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-05-21 06:10:45 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-05-21 06:10:45 +0000
commit0ee94271e89f93fd778e45ae27e6cb9c3aca5e9d (patch)
treeb9fb9ed59bf3748729e9792176b0f90a1d40b5d3 /sys/dev/usb/if_ral.c
parent1b539c3c7dd463c768cad0db562eab4a77af23c6 (diff)
Remove le{16,32}toh macros
Diffstat (limited to 'sys/dev/usb/if_ral.c')
-rw-r--r--sys/dev/usb/if_ral.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c
index dd023fc0078..40b7fd9dc42 100644
--- a/sys/dev/usb/if_ral.c
+++ b/sys/dev/usb/if_ral.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ral.c,v 1.90 2007/05/21 05:40:27 jsg Exp $ */
+/* $OpenBSD: if_ral.c,v 1.91 2007/05/21 06:10:43 jsg Exp $ */
/*-
* Copyright (c) 2005, 2006
@@ -1415,7 +1415,7 @@ ural_read(struct ural_softc *sc, uint16_t reg)
USBDEVNAME(sc->sc_dev), usbd_errstr(error));
return 0;
}
- return le16toh(val);
+ return letoh16(val);
}
Static void