From f0289d51bf90b8ed886db3ec2a348b5c7c0db12e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 17 Nov 2010 09:19:26 +1000 Subject: Hook the default options into the InputDriverRec. Signed-off-by: Peter Hutterer --- src/xf86HyperPen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c index 45f19b7..a853df2 100644 --- a/src/xf86HyperPen.c +++ b/src/xf86HyperPen.c @@ -70,7 +70,7 @@ * read a full packet before returning */ -static const char *default_options[] = { +static char *default_options[] = { "BaudRate", "9600", "DataBits", "8", "StopBits", "1", @@ -1050,6 +1050,7 @@ _X_EXPORT InputDriverRec HYPERPEN = { xf86HypInit, /* pre-init */ xf86HypUninit, /* un-init */ NULL, /* module */ + default_options }; -- cgit v1.2.3