atmel_mxt_ts.h 708 B

12345678910111213141516171819202122232425
  1. /*
  2. * Atmel maXTouch Touchscreen driver
  3. *
  4. * Copyright (C) 2010 Samsung Electronics Co.Ltd
  5. * Author: Joonyoung Shim <jy0922.shim@samsung.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. #ifndef __LINUX_ATMEL_MXT_TS_H
  13. #define __LINUX_ATMEL_MXT_TS_H
  14. #include <linux/types.h>
  15. /* The platform data for the Atmel maXTouch touchscreen driver */
  16. struct mxt_platform_data {
  17. unsigned long irqflags;
  18. u8 t19_num_keys;
  19. const unsigned int *t19_keymap;
  20. };
  21. #endif /* __LINUX_ATMEL_MXT_TS_H */