summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-09-10 11:07:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-12-02 12:07:57 +1000
commit0911f48f93e76cc8b6d6037d8ecbca03367f4c51 (patch)
tree332b874c0fcf8aa7680fc859151b90e8227702e2
parent28eeb2bdfebf18500c307f70c3af687e58bed2d0 (diff)
Move default_options up in preparation for ABI 12
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
-rw-r--r--src/xf86Aiptek.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index b19aa7b..43a6ae8 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -131,6 +131,18 @@ static const char identification[] = "$Identification: 0 $";
static InputDriverPtr aiptekDrv;
static int debug_level = INI_DEBUG_LEVEL;
+static const char *default_options[] =
+{
+ "BaudRate", "9600",
+ "StopBits", "1",
+ "DataBits", "8",
+ "Parity", "None",
+ "VMin", "1",
+ "Vtime", "10",
+ "FlowControl", "Xoff",
+ NULL
+};
+
_X_EXPORT InputDriverRec AIPTEK =
{
1, /* driver version */
@@ -191,18 +203,6 @@ static KeySymsRec keysyms =
};
#endif
-static const char *default_options[] =
-{
- "BaudRate", "9600",
- "StopBits", "1",
- "DataBits", "8",
- "Parity", "None",
- "VMin", "1",
- "Vtime", "10",
- "FlowControl", "Xoff",
- NULL
-};
-
/*
* xf86AiptekConvert
* Convert valuators to X and Y. We deal with multiple X screens, adjusting