mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-24 10:28:57 +00:00
120db2cba8
Patch from Tony Lindgren Update misc OMAP core code from linux-omap tree: - McBSP updates by Samuel Ortiz, Andrzej Zaborowski - Whitespace cleanups by Ladislav Michl - Other fixes by various linux-omap developers Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
23 lines
517 B
C
23 lines
517 B
C
/*
|
|
* 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)(unsigned long data, 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
|
|
|