Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-u300 / i2c.h
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
11 #ifndef MACH_U300_I2C_H
12 #define MACH_U300_I2C_H
13
14 #ifdef CONFIG_I2C_STU300
15 void __init u300_i2c_register_board_devices(void);
16 #else
17 /* Compile out this stuff if no I2C adapter is available */
18 static inline void __init u300_i2c_register_board_devices(void)
19 {
20 }
21 #endif
22
23 #endif