[PATCH] tty_io.c balance tty_ldisc_ref()
[linux/fpc-iii.git] / include / asm-arm / arch-omap / menelaus.h
blob88cd4c87f0decd72f22a5ba1d5f012911ff59933
1 /*
2 * linux/include/asm-arm/arch-omap/menelaus.h
4 * Functions to access Menelaus power management chip
5 */
7 #ifndef __ASM_ARCH_MENELAUS_H
8 #define __ASM_ARCH_MENELAUS_H
10 extern void menelaus_mmc_register(void (*callback)(unsigned long data, u8 card_mask),
11 unsigned long data);
12 extern void menelaus_mmc_remove(void);
13 extern void menelaus_mmc_opendrain(int enable);
15 #if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_MENELAUS)
16 #define omap_has_menelaus() 1
17 #else
18 #define omap_has_menelaus() 0
19 #endif
21 #endif