touchscreen.h 497 B

12345678910111213141516171819202122
  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. #ifndef _TOUCHSCREEN_H
  9. #define _TOUCHSCREEN_H
  10. #include <linux/input.h>
  11. #ifdef CONFIG_OF
  12. void touchscreen_parse_of_params(struct input_dev *dev);
  13. #else
  14. static inline void touchscreen_parse_of_params(struct input_dev *dev)
  15. {
  16. }
  17. #endif
  18. #endif