diff options
Diffstat (limited to 'arch/arm/mach-sa1100/include/mach/h3600.h')
-rw-r--r-- | arch/arm/mach-sa1100/include/mach/h3600.h | 12 |
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 | ||
96 | struct ipaq_model_ops { | 96 | extern void (*assign_h3600_egpio)(enum ipaq_egpio_type x, int level); |
97 | void (*control)(enum ipaq_egpio_type, int); | ||
98 | }; | ||
99 | |||
100 | extern struct ipaq_model_ops ipaq_model_ops; | ||
101 | |||
102 | static __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 | ||