diff options
Diffstat (limited to 'include/asm-generic/global_data.h')
| -rw-r--r-- | include/asm-generic/global_data.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 77260a8d2..77e06fb4f 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -69,6 +69,9 @@ typedef struct global_data {  #ifdef CONFIG_TRACE  	void		*trace_buff;	/* The trace buffer */  #endif +#if defined(CONFIG_SYS_I2C) +	int		cur_i2c_bus;	/* current used i2c bus */ +#endif  	struct arch_global_data arch;	/* architecture-specific data */  } gd_t;  #endif |