i2c-cbus-gpio.h 790 B

123456789101112131415161718192021222324252627
  1. /*
  2. * i2c-cbus-gpio.h - CBUS I2C platform_data definition
  3. *
  4. * Copyright (C) 2004-2009 Nokia Corporation
  5. *
  6. * Written by Felipe Balbi and Aaro Koskinen.
  7. *
  8. * This file is subject to the terms and conditions of the GNU General
  9. * Public License. See the file "COPYING" in the main directory of this
  10. * archive for more details.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. */
  17. #ifndef __INCLUDE_LINUX_I2C_CBUS_GPIO_H
  18. #define __INCLUDE_LINUX_I2C_CBUS_GPIO_H
  19. struct i2c_cbus_platform_data {
  20. int dat_gpio;
  21. int clk_gpio;
  22. int sel_gpio;
  23. };
  24. #endif /* __INCLUDE_LINUX_I2C_CBUS_GPIO_H */