esdhc.h 639 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright 2010 Wolfram Sang <w.sang@pengutronix.de>
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; version 2
  7. * of the License.
  8. */
  9. #ifndef __ASM_ARCH_IMX_ESDHC_H
  10. #define __ASM_ARCH_IMX_ESDHC_H
  11. /**
  12. * struct esdhc_platform_data - optional platform data for esdhc on i.MX
  13. *
  14. * strongly recommended for i.MX25/35, not needed for other variants
  15. *
  16. * @wp_gpio: gpio for write_protect (-EINVAL if unused)
  17. */
  18. struct esdhc_platform_data {
  19. unsigned int wp_gpio;
  20. };
  21. #endif /* __ASM_ARCH_IMX_ESDHC_H */