diff options
author | Venkatraman S <svenkatr@ti.com> | 2012-08-07 09:26:35 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-09-04 13:58:21 -0400 |
commit | 2976837c6ea8c852389b99e6e1a6f91ccd21fba1 (patch) | |
tree | afbb6469897751e23e3a871dd1f577a1b68db8dc | |
parent | 6780162c0097915dbc4e8fc11af662a270093d85 (diff) |
mmc: omap: remove unused variables and includes
Get rid of some unnecessary includes in the driver and
a few unused variables.
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | drivers/mmc/host/omap.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index a5999a74496a..921cf3af8efe 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c | |||
@@ -27,18 +27,10 @@ | |||
27 | #include <linux/mmc/card.h> | 27 | #include <linux/mmc/card.h> |
28 | #include <linux/clk.h> | 28 | #include <linux/clk.h> |
29 | #include <linux/scatterlist.h> | 29 | #include <linux/scatterlist.h> |
30 | #include <linux/i2c/tps65010.h> | ||
31 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
32 | 31 | ||
33 | #include <asm/io.h> | ||
34 | #include <asm/irq.h> | ||
35 | |||
36 | #include <plat/board.h> | ||
37 | #include <plat/mmc.h> | 32 | #include <plat/mmc.h> |
38 | #include <asm/gpio.h> | ||
39 | #include <plat/dma.h> | 33 | #include <plat/dma.h> |
40 | #include <plat/mux.h> | ||
41 | #include <plat/fpga.h> | ||
42 | 34 | ||
43 | #define OMAP_MMC_REG_CMD 0x00 | 35 | #define OMAP_MMC_REG_CMD 0x00 |
44 | #define OMAP_MMC_REG_ARGL 0x01 | 36 | #define OMAP_MMC_REG_ARGL 0x01 |
@@ -107,7 +99,6 @@ struct mmc_omap_slot { | |||
107 | u16 saved_con; | 99 | u16 saved_con; |
108 | u16 bus_mode; | 100 | u16 bus_mode; |
109 | unsigned int fclk_freq; | 101 | unsigned int fclk_freq; |
110 | unsigned powered:1; | ||
111 | 102 | ||
112 | struct tasklet_struct cover_tasklet; | 103 | struct tasklet_struct cover_tasklet; |
113 | struct timer_list cover_timer; | 104 | struct timer_list cover_timer; |
@@ -139,7 +130,6 @@ struct mmc_omap_host { | |||
139 | unsigned int phys_base; | 130 | unsigned int phys_base; |
140 | int irq; | 131 | int irq; |
141 | unsigned char bus_mode; | 132 | unsigned char bus_mode; |
142 | unsigned char hw_bus_mode; | ||
143 | unsigned int reg_shift; | 133 | unsigned int reg_shift; |
144 | 134 | ||
145 | struct work_struct cmd_abort_work; | 135 | struct work_struct cmd_abort_work; |