Created
January 2, 2020 14:05
-
-
Save steleto/10f62a074bff0c188fcc10c14ef40b5a to your computer and use it in GitHub Desktop.
C700で「カナひら」+「3」「4」で輝度変更するためのパッチ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sys/arch/zaurus/dev/w100lcd.c b/sys/arch/zaurus/dev/w100lcd.c | |
index c24eff13385..79622442ede 100644 | |
--- a/sys/arch/zaurus/dev/w100lcd.c | |
+++ b/sys/arch/zaurus/dev/w100lcd.c | |
@@ -41,6 +41,8 @@ | |
#include <sys/cdefs.h> | |
__KERNEL_RCSID(0, "$NetBSD: w100lcd.c,v 1.2 2012/02/10 11:25:42 tsutsui Exp $"); | |
+#include "lcdctl.h" | |
+ | |
#include <sys/param.h> | |
#include <sys/systm.h> | |
#include <sys/bus.h> | |
@@ -58,6 +60,9 @@ __KERNEL_RCSID(0, "$NetBSD: w100lcd.c,v 1.2 2012/02/10 11:25:42 tsutsui Exp $"); | |
#include <zaurus/zaurus/zaurus_var.h> | |
#include <zaurus/dev/w100lcdvar.h> | |
+#if NLCDCTL > 0 | |
+#include <zaurus/dev/lcdctlvar.h> | |
+#endif | |
/* | |
* wsdisplay glue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment