From 684bc296e637ec03a7f357a8ed99f9de1dd46617 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Aguiar Date: Tue, 29 Jul 2008 12:44:35 -0400 Subject: [PATCH] OMAP: MENELAUS: Code clean-up for menelaus This patch removes a few errors and warnings reported by checkpatch.pl. Signed-off-by: Carlos Eduardo Aguiar Signed-off-by: Tony Lindgren --- include/linux/i2c/menelaus.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/linux/i2c/menelaus.h b/include/linux/i2c/menelaus.h index 16604187555..9587398dba2 100644 --- a/include/linux/i2c/menelaus.h +++ b/include/linux/i2c/menelaus.h @@ -1,5 +1,5 @@ /* - * linux/include/asm-arm/arch-omap/menelaus.h + * include/linux/i2c/menelaus.h * * Functions to access Menelaus power management chip */ @@ -122,10 +122,11 @@ struct device; 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); extern void menelaus_unregister_mmc_callback(void); extern int menelaus_set_mmc_opendrain(int slot, int enable); -- 2.41.1