24 lines
		
	
	
	
		
			500 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
	
		
			500 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 * arch/arm/mach-u300/i2c.h
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * Copyright (C) 2009 ST-Ericsson AB
							 | 
						||
| 
								 | 
							
								 * License terms: GNU General Public License (GPL) version 2
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * Register board i2c devices
							 | 
						||
| 
								 | 
							
								 * Author: Linus Walleij <linus.walleij@stericsson.com>
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#ifndef MACH_U300_I2C_H
							 | 
						||
| 
								 | 
							
								#define MACH_U300_I2C_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#ifdef CONFIG_I2C_STU300
							 | 
						||
| 
								 | 
							
								void __init u300_i2c_register_board_devices(void);
							 | 
						||
| 
								 | 
							
								#else
							 | 
						||
| 
								 | 
							
								/* Compile out this stuff if no I2C adapter is available */
							 | 
						||
| 
								 | 
							
								static inline void __init u300_i2c_register_board_devices(void)
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								#endif
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif
							 |