blob: eecc9ea6cd58716f7e4d2597f4f5699ad818d546 [file] [log] [blame]
Sebastian Reichelb98abe52014-05-28 23:51:53 -07001/*
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 Torokhov7c494372015-06-01 10:35:16 -070015void touchscreen_parse_of_params(struct input_dev *dev, bool multitouch);
Sebastian Reichelb98abe52014-05-28 23:51:53 -070016#else
Dmitry Torokhov7c494372015-06-01 10:35:16 -070017static inline void touchscreen_parse_of_params(struct input_dev *dev,
18 bool multitouch)
Sebastian Reichelb98abe52014-05-28 23:51:53 -070019{
20}
21#endif
22
23#endif