diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-17 09:19:26 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-17 09:43:04 +1000 |
commit | f0289d51bf90b8ed886db3ec2a348b5c7c0db12e (patch) | |
tree | acaa01dda7f63c80313111b3f20b0fd85086deef | |
parent | 99f94c29a9b0ea2dd301be2f838c5133f33d54b6 (diff) |
Hook the default options into the InputDriverRec.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86HyperPen.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 }; |