aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/include/mach/h3600.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-sa1100/include/mach/h3600.h')
-rw-r--r--arch/arm/mach-sa1100/include/mach/h3600.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-sa1100/include/mach/h3600.h b/arch/arm/mach-sa1100/include/mach/h3600.h
index 33fc4bcfd3ee..2827faa47421 100644
--- a/arch/arm/mach-sa1100/include/mach/h3600.h
+++ b/arch/arm/mach-sa1100/include/mach/h3600.h
@@ -93,17 +93,7 @@ enum ipaq_egpio_type {
93 IPAQ_EGPIO_LCD_ENABLE, /* Enable/disable LCD controller */ 93 IPAQ_EGPIO_LCD_ENABLE, /* Enable/disable LCD controller */
94}; 94};
95 95
96struct ipaq_model_ops { 96extern void (*assign_h3600_egpio)(enum ipaq_egpio_type x, int level);
97 void (*control)(enum ipaq_egpio_type, int);
98};
99
100extern struct ipaq_model_ops ipaq_model_ops;
101
102static __inline__ void assign_h3600_egpio(enum ipaq_egpio_type x, int level)
103{
104 if (ipaq_model_ops.control)
105 ipaq_model_ops.control(x,level);
106}
107 97
108#endif /* ASSEMBLY */ 98#endif /* ASSEMBLY */
109 99