Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcarm/dev Fix build without WSDISPLAY_COMPAT_RAWKBD.



details:   https://anonhg.NetBSD.org/src/rev/a1d146b3ec6a
branches:  trunk
changeset: 1023224:a1d146b3ec6a
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Aug 30 05:57:51 2021 +0000

description:
Fix build without WSDISPLAY_COMPAT_RAWKBD.

diffstat:

 sys/arch/hpcarm/dev/j720tp.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 45724f83ce88 -r a1d146b3ec6a sys/arch/hpcarm/dev/j720tp.c
--- a/sys/arch/hpcarm/dev/j720tp.c      Mon Aug 30 01:29:41 2021 +0000
+++ b/sys/arch/hpcarm/dev/j720tp.c      Mon Aug 30 05:57:51 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: j720tp.c,v 1.13 2021/08/07 16:18:53 thorpej Exp $      */
+/*     $NetBSD: j720tp.c,v 1.14 2021/08/30 05:57:51 rin Exp $  */
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 /* Jornada 720 touch-panel driver. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.13 2021/08/07 16:18:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.14 2021/08/30 05:57:51 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_j720tp.h"
@@ -223,7 +223,9 @@
        sc->sc_ssp = device_private(parent);
        sc->sc_enabled = 0;
        sc->sc_hard_icon = 0;
+#ifdef WSDISPLAY_COMPAT_RAWKBD
        sc->sc_rawkbd = 0;
+#endif
 
        /* Touch-panel as a pointing device. */
        wsma.accessops = &j720tp_wsmouse_accessops;



Home | Main Index | Thread Index | Old Index