summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2008-12-14 07:38:42 +0000
committerRay Lai <ray@cvs.openbsd.org>2008-12-14 07:38:42 +0000
commit1277b2a908609c66dc6ef4e702526767e9a39bac (patch)
tree0bb9f2a22e3da40ea125012666097b3a36c2188d /sys/dev
parent2dd7d5becd99b3dce71d4fea7ae725d1c4054a37 (diff)
Give names to anonymous unions.
Worked on with mglocker. OK mglocker
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uvideo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index c8f391de937..8e65824a101 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.107 2008/12/10 21:20:47 mglocker Exp $ */
+/* $OpenBSD: uvideo.c,v 1.108 2008/12/14 07:38:41 ray Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -2537,15 +2537,15 @@ uvideo_enum_fsizes(void *v, struct v4l2_frmsizeenum *fsizes)
if (sc->sc_fmtgrp[idx].frame[i]->bFrameIntervalType == 0) {
/* TODO */
fsizes->type = V4L2_FRMSIZE_TYPE_CONTINUOUS;
- fsizes->stepwise.min_width = 0;
- fsizes->stepwise.min_height = 0;
- fsizes->stepwise.max_width = 0;
- fsizes->stepwise.max_height = 0;
+ fsizes->size.stepwise.min_width = 0;
+ fsizes->size.stepwise.min_height = 0;
+ fsizes->size.stepwise.max_width = 0;
+ fsizes->size.stepwise.max_height = 0;
} else {
fsizes->type = V4L2_FRMSIZE_TYPE_DISCRETE;
- fsizes->discrete.width =
+ fsizes->size.discrete.width =
UGETW(sc->sc_fmtgrp[idx].frame[i]->wWidth);
- fsizes->discrete.height =
+ fsizes->size.discrete.height =
UGETW(sc->sc_fmtgrp[idx].frame[i]->wHeight);
}