Sebastian Reichel | b98abe5 | 2014-05-28 23:51:53 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 Sebastian Reichel <sre@kernel.org> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify it |
| 5 | * under the terms of the GNU General Public License version 2 as published by |
| 6 | * the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _TOUCHSCREEN_H |
| 10 | #define _TOUCHSCREEN_H |
| 11 | |
| 12 | #include <linux/input.h> |
| 13 | |
| 14 | #ifdef CONFIG_OF |
Dmitry Torokhov | 7c49437 | 2015-06-01 10:35:16 -0700 | [diff] [blame] | 15 | void touchscreen_parse_of_params(struct input_dev *dev, bool multitouch); |
Sebastian Reichel | b98abe5 | 2014-05-28 23:51:53 -0700 | [diff] [blame] | 16 | #else |
Dmitry Torokhov | 7c49437 | 2015-06-01 10:35:16 -0700 | [diff] [blame] | 17 | static inline void touchscreen_parse_of_params(struct input_dev *dev, |
| 18 | bool multitouch) |
Sebastian Reichel | b98abe5 | 2014-05-28 23:51:53 -0700 | [diff] [blame] | 19 | { |
| 20 | } |
| 21 | #endif |
| 22 | |
| 23 | #endif |