Skip to content

Commit 707f0b2

Browse files
Magnus DammSamuel Ortiz
authored andcommitted
tmio_mmc: Remove const from platform data V3
Remove const from the tmio-mmc platform data hclk V3. This change makes it possible to remove the type cast from the sh_mobile_sdhi driver which is using the clock framework to get the clock rate. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent 6d9af5a commit 707f0b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/mfd/tmio.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state);
5959
* data for the MMC controller
6060
*/
6161
struct tmio_mmc_data {
62-
const unsigned int hclk;
62+
unsigned int hclk;
6363
unsigned long capabilities;
6464
void (*set_pwr)(struct platform_device *host, int state);
6565
void (*set_clk_div)(struct platform_device *host, int state);

0 commit comments

Comments
 (0)