diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-02-09 16:57:13 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-27 12:20:16 -0400 |
commit | c391e1b9ebfe31514fa95a0cdd30c2cbc9652c89 (patch) | |
tree | a126e9621172ead9bede04f2413fa79ffd3871d2 /include | |
parent | 58126c878b4a4f658015e383614bafb6331e46d3 (diff) |
mmc: tmio_mmc: power status flag doesn't have to be exposed in platform data
The controller power status flag does not have to be accessed from the
hot-plug detection code any more, it can now be removed from the platform
data and put in the controller private struct.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/tmio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index 5a197de4aac9..f5171dbf8850 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h | |||
@@ -105,7 +105,6 @@ struct tmio_mmc_data { | |||
105 | u32 ocr_mask; /* available voltages */ | 105 | u32 ocr_mask; /* available voltages */ |
106 | struct tmio_mmc_dma *dma; | 106 | struct tmio_mmc_dma *dma; |
107 | struct device *dev; | 107 | struct device *dev; |
108 | bool power; | ||
109 | unsigned int cd_gpio; | 108 | unsigned int cd_gpio; |
110 | void (*set_pwr)(struct platform_device *host, int state); | 109 | void (*set_pwr)(struct platform_device *host, int state); |
111 | void (*set_clk_div)(struct platform_device *host, int state); | 110 | void (*set_clk_div)(struct platform_device *host, int state); |