Module Name:    src
Committed By:   jmcneill
Date:           Wed Aug 30 00:40:09 UTC 2017

Modified Files:
        src/sys/dev/i2c: tcakp.c

Log Message:
Use linux_keymap instead of pckbd keymap


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/tcakp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/i2c/tcakp.c
diff -u src/sys/dev/i2c/tcakp.c:1.2 src/sys/dev/i2c/tcakp.c:1.3
--- src/sys/dev/i2c/tcakp.c:1.2	Sat Aug 26 22:31:02 2017
+++ src/sys/dev/i2c/tcakp.c	Wed Aug 30 00:40:09 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: tcakp.c,v 1.2 2017/08/26 22:31:02 jmcneill Exp $ */
+/* $NetBSD: tcakp.c,v 1.3 2017/08/30 00:40:09 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcne...@invisible.ca>
@@ -29,7 +29,7 @@
 #include "opt_fdt.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcakp.c,v 1.2 2017/08/26 22:31:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcakp.c,v 1.3 2017/08/30 00:40:09 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -46,9 +46,7 @@ __KERNEL_RCSID(0, "$NetBSD: tcakp.c,v 1.
 #include <dev/wscons/wskbdvar.h>
 #include <dev/wscons/wsksymdef.h>
 #include <dev/wscons/wsksymvar.h>
-
-/* XXX keymap */
-#include <dev/pckbport/wskbdmap_mfii.c>
+#include <dev/wscons/linux_keymap.h>
 
 #ifdef FDT
 #include <dev/fdt/fdtvar.h>
@@ -317,7 +315,7 @@ static const struct wskbd_consops tcakp_
 #endif
 
 static const struct wskbd_mapdata tcakp_keymapdata = {
-	pckbd_keydesctab,
+	linux_keymap_keydesctab,
 	KB_US,
 };
 

Reply via email to