summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udl.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-01-09 14:36:27 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-01-09 14:36:27 +0000
commitbf374655f8ca8341ddf829c2cb61631cc0a8cb57 (patch)
tree57839582ac2ad3ce5b8e87acb882e9df5825a458 /sys/dev/usb/udl.h
parent25aaeac2e7ff4e81296b12f4c7c9ae1e6369da89 (diff)
Rename udl_mode field to not shadow global `hz' variable.
ok mglocker@
Diffstat (limited to 'sys/dev/usb/udl.h')
-rw-r--r--sys/dev/usb/udl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/udl.h b/sys/dev/usb/udl.h
index adf8caec0f5..9d80917db4c 100644
--- a/sys/dev/usb/udl.h
+++ b/sys/dev/usb/udl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.h,v 1.23 2017/04/08 02:57:25 deraadt Exp $ */
+/* $OpenBSD: udl.h,v 1.24 2020/01/09 14:36:26 mpi Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -278,7 +278,7 @@ uint8_t udl_reg_vals_1920x1080_60[] = { /* 138.50 MHz 59.9 Hz */
struct udl_mode {
uint16_t hdisplay;
uint16_t vdisplay;
- uint8_t hz;
+ uint8_t freq;
uint16_t chip;
uint32_t clock;
#define UDL_MODE_SIZE 29