This adds trivial support for the GPIOs implemented through the baseboard CPLD, used for driving the button matrix. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			273 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			273 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef __MACH_X3PROTO_HARDWARE_H
 | 
						|
#define __MACH_X3PROTO_HARDWARE_H
 | 
						|
 | 
						|
struct gpio_chip;
 | 
						|
 | 
						|
/* arch/sh/boards/mach-x3proto/gpio.c */
 | 
						|
int x3proto_gpio_setup(void);
 | 
						|
extern struct gpio_chip x3proto_gpio_chip;
 | 
						|
 | 
						|
#define NR_BASEBOARD_GPIOS	16
 | 
						|
 | 
						|
#endif /* __MACH_X3PROTO_HARDWARE_H */
 |