summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-08-31 03:39:59 +0000
committerimp <imp@FreeBSD.org>2008-08-31 03:39:59 +0000
commit89761a8f6c4b4ee9e7eaf59a90bbf63054f5d084 (patch)
tree63023bc068cc7fdc107d9884ad0ac75c6c1d7618 /sys
parent9bdd161322b558cffb6f4f8a0f9346052b772954 (diff)
downloadFreeBSD-src-89761a8f6c4b4ee9e7eaf59a90bbf63054f5d084.zip
FreeBSD-src-89761a8f6c4b4ee9e7eaf59a90bbf63054f5d084.tar.gz
Make uipaq's ucom callbacks easier to read while I'm hear looking for
other why this seems to be broken with my phone...
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uipaq.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/usb/uipaq.c b/sys/dev/usb/uipaq.c
index 678e6c7..a231a67 100644
--- a/sys/dev/usb/uipaq.c
+++ b/sys/dev/usb/uipaq.c
@@ -104,14 +104,7 @@ static void uipaq_break(struct uipaq_softc* sc, int onoff);
int uipaq_detach(device_t self);
struct ucom_callback uipaq_callback = {
- NULL,
- uipaq_set,
- NULL,
- NULL,
- NULL, /*open*/
- NULL, /*close*/
- NULL,
- NULL
+ .ucom_set = uipaq_set
};
struct uipaq_type {
OpenPOWER on IntegriCloud