Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]

Diff markup

Differences between /linux/arch/arm/mach-gemini/include/mach/gpio.h (Version 2.6.31.13) and /linux/arch/i386/mach-gemini/include/mach/gpio.h (Version 2.6.11.8)


  1 /*                                                  1 
  2  * Gemini gpiolib specific defines                
  3  *                                                
  4  * Copyright (C) 2008-2009 Paulius Zaleckas <p    
  5  *                                                
  6  * This program is free software; you can redi    
  7  * it under the terms of the GNU General Publi    
  8  * the Free Software Foundation; either versio    
  9  * (at your option) any later version.            
 10  */                                               
 11                                                   
 12 #ifndef __MACH_GPIO_H__                           
 13 #define __MACH_GPIO_H__                           
 14                                                   
 15 #include <mach/irqs.h>                            
 16 #include <asm-generic/gpio.h>                     
 17                                                   
 18 #define gpio_get_value  __gpio_get_value          
 19 #define gpio_set_value  __gpio_set_value          
 20 #define gpio_cansleep   __gpio_cansleep           
 21                                                   
 22 #define gpio_to_irq(x)  ((x) + GPIO_IRQ_BASE)     
 23 #define irq_to_gpio(x)  ((x) - GPIO_IRQ_BASE)     
 24                                                   
 25 #endif /* __MACH_GPIO_H__ */                      
 26                                                   
  This page was automatically generated by the LXR engine.