gpio-ir-recv.h 733 B

12345678910111213141516171819202122232425
  1. /* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __GPIO_IR_RECV_H__
  13. #define __GPIO_IR_RECV_H__
  14. struct gpio_ir_recv_platform_data {
  15. int gpio_nr;
  16. bool active_low;
  17. u64 allowed_protos;
  18. const char *map_name;
  19. };
  20. #endif /* __GPIO_IR_RECV_H__ */