Commit 684bc296 authored by Carlos Eduardo Aguiar's avatar Carlos Eduardo Aguiar Committed by Tony Lindgren

OMAP: MENELAUS: Code clean-up for menelaus

This patch removes a few errors and warnings reported by checkpatch.pl.
Signed-off-by: default avatarCarlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 6949898e
/* /*
* linux/include/asm-arm/arch-omap/menelaus.h * include/linux/i2c/menelaus.h
* *
* Functions to access Menelaus power management chip * Functions to access Menelaus power management chip
*/ */
...@@ -122,10 +122,11 @@ ...@@ -122,10 +122,11 @@
struct device; struct device;
struct menelaus_platform_data { struct menelaus_platform_data {
int (* late_init)(struct device *dev); int (*late_init)(struct device *dev);
}; };
extern int menelaus_register_mmc_callback(void (*callback)(void *data, u8 card_mask), extern int menelaus_register_mmc_callback(void (*callback)(void *data,
u8 card_mask),
void *data); void *data);
extern void menelaus_unregister_mmc_callback(void); extern void menelaus_unregister_mmc_callback(void);
extern int menelaus_set_mmc_opendrain(int slot, int enable); extern int menelaus_set_mmc_opendrain(int slot, int enable);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment