lkml.org 
[lkml]   [2009]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH 02/03] mmc: Remove const from tmio-mmc platform data V2
From: Magnus Damm <damm@opensource.se>

This patch removes the const from the tmio-mmc
platform data parameter "hclk". Needed by the
SDHI driver.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

V2 drops the SDHI bits to simplify merging.

include/linux/mfd/tmio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 0001/include/linux/mfd/tmio.h
+++ work/include/linux/mfd/tmio.h 2009-11-26 19:02:59.000000000 +0900
@@ -60,7 +60,7 @@ void tmio_core_set_bus_shift(int bus_shi
* data for the MMC controller
*/
struct tmio_mmc_data {
- const unsigned int hclk;
+ unsigned int hclk;
void (*set_pwr)(struct platform_device *host, int state);
void (*set_no_clk_div)(struct platform_device *host, int state);
};

\
 
 \ /
  Last update: 2009-11-27 06:07    [W:0.066 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site