i2c.h 500 B

123456789101112131415161718192021222324
  1. /*
  2. * arch/arm/mach-u300/i2c.h
  3. *
  4. * Copyright (C) 2009 ST-Ericsson AB
  5. * License terms: GNU General Public License (GPL) version 2
  6. *
  7. * Register board i2c devices
  8. * Author: Linus Walleij <linus.walleij@stericsson.com>
  9. */
  10. #ifndef MACH_U300_I2C_H
  11. #define MACH_U300_I2C_H
  12. #ifdef CONFIG_I2C_STU300
  13. void __init u300_i2c_register_board_devices(void);
  14. #else
  15. /* Compile out this stuff if no I2C adapter is available */
  16. static inline void __init u300_i2c_register_board_devices(void)
  17. {
  18. }
  19. #endif
  20. #endif