diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-31 15:32:39 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-31 15:32:39 +1000 |
commit | 0e14da978ea906c7fdaf90f54f798a542e79ce8f (patch) | |
tree | a670f3ab9aefd7c54d53f4ad6ccdf63040835801 | |
parent | a45a36ee66cc83a5d93383a305b1e7d19f56918b (diff) |
Fix build error on kernels w/o input properties
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | evtest.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -795,10 +795,12 @@ static inline const char* codename(unsigned int type, unsigned int code) return (type <= EV_MAX && code <= maxval[type] && names[type] && names[type][code]) ? names[type][code] : "?"; } +#ifdef INPUT_PROP_SEMI_MT static inline const char* propname(unsigned int prop) { return (prop <= INPUT_PROP_MAX && props[prop]) ? props[prop] : "?"; } +#endif /** * Print static device information (no events). This information includes |