diff options
author | hselasky <hselasky@FreeBSD.org> | 2012-04-02 10:50:42 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2012-04-02 10:50:42 +0000 |
commit | 126953ccbe190fe51094d1ccefda3226d1e5140c (patch) | |
tree | 70a9d586e75b3d8e087069f07020564df44b0b99 /sys/dev/usb/serial/uchcom.c | |
parent | 56216c3bc99342baf89a814301e85dffe7a62a9b (diff) | |
download | FreeBSD-src-126953ccbe190fe51094d1ccefda3226d1e5140c.zip FreeBSD-src-126953ccbe190fe51094d1ccefda3226d1e5140c.tar.gz |
Fix compiler warnings, mostly signed issues,
when USB modules are compiled with WARNS=9.
MFC after: 1 weeks
Diffstat (limited to 'sys/dev/usb/serial/uchcom.c')
-rw-r--r-- | sys/dev/usb/serial/uchcom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/serial/uchcom.c b/sys/dev/usb/serial/uchcom.c index 2b12029..b592497 100644 --- a/sys/dev/usb/serial/uchcom.c +++ b/sys/dev/usb/serial/uchcom.c @@ -846,9 +846,9 @@ static device_method_t uchcom_methods[] = { }; static driver_t uchcom_driver = { - "ucom", - uchcom_methods, - sizeof(struct uchcom_softc) + .name = "ucom", + .methods = uchcom_methods, + .size = sizeof(struct uchcom_softc) }; static devclass_t uchcom_devclass; |