diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2008-04-11 11:23:51 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2008-04-11 11:23:51 +0000 |
commit | 8783ee18f36bd14e61a25ee73f1da86845ef96d3 (patch) | |
tree | 283276a762be57ed7617eb4c739c5f587cad4c72 /sys | |
parent | a801a417df8b09fefbe229f6112a6055f4e06bc7 (diff) |
ditch c99 style struct initialisers that should have been removed.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/uchcom.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/usb/uchcom.c b/sys/dev/usb/uchcom.c index f45d961d0bc..9edf3614301 100644 --- a/sys/dev/usb/uchcom.c +++ b/sys/dev/usb/uchcom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uchcom.c,v 1.4 2007/10/11 18:33:14 deraadt Exp $ */ +/* $OpenBSD: uchcom.c,v 1.5 2008/04/11 11:23:50 jsg Exp $ */ /* $NetBSD: uchcom.c,v 1.1 2007/09/03 17:57:37 tshiozak Exp $ */ /* @@ -217,14 +217,14 @@ int uchcom_detach(struct device *, int); int uchcom_activate(struct device *, enum devact); struct ucom_methods uchcom_methods = { - .ucom_get_status = uchcom_get_status, - .ucom_set = uchcom_set, - .ucom_param = uchcom_param, - .ucom_ioctl = NULL, - .ucom_open = uchcom_open, - .ucom_close = uchcom_close, - .ucom_read = NULL, - .ucom_write = NULL, + uchcom_get_status, + uchcom_set, + uchcom_param, + NULL, + uchcom_open, + uchcom_close, + NULL, + NULL, }; static const struct usb_devno uchcom_devs[] = { |