summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-omap/menelaus.h
blob: 46be8b8d63465ae33d6a05f6bbbd802eb2817901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * linux/include/asm-arm/arch-omap/menelaus.h
 *
 * Functions to access Menelaus power management chip
 */

#ifndef __ASM_ARCH_MENELAUS_H
#define __ASM_ARCH_MENELAUS_H

extern void menelaus_mmc_register(void (*callback)(u8 card_mask),
				  unsigned long data);
extern void menelaus_mmc_remove(void);
extern void menelaus_mmc_opendrain(int enable);

#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_MENELAUS)
#define omap_has_menelaus()	1
#else
#define omap_has_menelaus()	0
#endif

#endif