aboutsummaryrefslogtreecommitdiffstats
path: root/T6963.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-02-22 07:53:10 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-02-22 07:53:10 +0000
commited1760b6b3194d68cdf6edbae01079e9efbc2e09 (patch)
tree9a0596fed56b4985e15b7d677c43c0bda80fbabb /T6963.c
parentd302e66cd7b633e557bcb1504149ff3a7b39198c (diff)
downloadlcd4linux-ed1760b6b3194d68cdf6edbae01079e9efbc2e09.tar.gz
[lcd4linux @ 2003-02-22 07:53:09 by reinelt]
cfg_get(key,defval) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@183 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'T6963.c')
-rw-r--r--T6963.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/T6963.c b/T6963.c
index a659733..85aedbc 100644
--- a/T6963.c
+++ b/T6963.c
@@ -1,4 +1,4 @@
-/* $Id: T6963.c,v 1.4 2002/08/21 06:09:53 reinelt Exp $
+/* $Id: T6963.c,v 1.5 2003/02/22 07:53:10 reinelt Exp $
*
* driver for display modules based on the Toshiba T6963 chip
*
@@ -20,6 +20,9 @@
*
*
* $Log: T6963.c,v $
+ * Revision 1.5 2003/02/22 07:53:10 reinelt
+ * cfg_get(key,defval)
+ *
* Revision 1.4 2002/08/21 06:09:53 reinelt
* some T6963 fixes, ndelay wrap
*
@@ -377,7 +380,7 @@ int T6_init (LCD *Self)
PPdev=NULL;
}
- port=cfg_get ("Port");
+ port=cfg_get ("Port",NULL);
if (port==NULL || *port=='\0') {
error ("T6963: no 'Port' entry in %s", cfg_file());
return -1;