2005-11-10 15:26:53 +01:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
2006-04-02 18:46:27 +02:00
|
|
|
extern void menelaus_mmc_register(void (*callback)(unsigned long data, u8 card_mask),
|
2005-11-10 15:26:53 +01:00
|
|
|
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
|
|
|
|
|