aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2008-11-20 19:46:50 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-20 19:46:50 +0000
commitf00ed35e0335f26e45405eb82776cef1d76ee5f3 (patch)
treedc925a8d462428122efdab66418def1bdc3c2f82 /include
parent1552c51b244b71d57b73edef14047682e70717ca (diff)
glamo_mci_use_regulator_api.patch
Changes the glamo-mci driver to use the regulator API.
Diffstat (limited to 'include')
-rw-r--r--include/linux/glamofb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/glamofb.h b/include/linux/glamofb.h
index a68870deafa..b787a0c7041 100644
--- a/include/linux/glamofb.h
+++ b/include/linux/glamofb.h
@@ -27,9 +27,11 @@ struct glamofb_platform_data {
struct glamo_spigpio_info *spigpio_info;
struct glamo_core *glamo;
+ struct platform_device *mmc_dev;
+
/* glamo mmc platform specific info */
- void (*glamo_set_mci_power)(unsigned char power_mode,
- unsigned short vdd);
+ int (*glamo_can_set_mci_power)(void);
+
/* glamo-mci asking if it should use the slow clock to card */
int (*glamo_mci_use_slow)(void);
int (*glamo_irq_is_wired)(void);