Date:2011-03-18 16:31:15 (11 years 6 months ago)
Author:Lars C.
Commit:f61158cc84c84d9d6c953a9ea2de2ab955619bfd
Message:MMC: JZ4740: Drop clock_id field from platform data

Now that we use clkdev to perform the clock lookup it is no longer necessary.
Files: arch/mips/include/asm/mach-jz47xx/jz4740_mmc.h (1 diff)
arch/mips/jz47xx/jz4750/board-xz0032.c (1 diff)
drivers/mmc/host/jz4740_mmc.c (1 diff)

Change Details

arch/mips/include/asm/mach-jz47xx/jz4740_mmc.h
1515
1616    unsigned mmc_pin_count;
1717    struct jz_gpio_bulk_request *mmc_pins;
18
19    const char* clock_id;
2018};
2119
2220#endif
arch/mips/jz47xx/jz4750/board-xz0032.c
100100
101101    .mmc_pins = xz0032_mmc1_pins,
102102    .mmc_pin_count = ARRAY_SIZE(xz0032_mmc1_pins),
103
104    .clock_id = "mmc1",
105103};
106104
107105/* LCD */
drivers/mmc/host/jz4740_mmc.c
807807        goto err_free_host;
808808    }
809809
810    host->clk = clk_get(&pdev->dev, pdata->clock_id);
810    host->clk = clk_get(&pdev->dev, "mmc");
811811    if (IS_ERR(host->clk)) {
812812        ret = PTR_ERR(host->clk);
813813        dev_err(&pdev->dev, "Failed to get mmc clock: %d\n", ret);

Archive Download the corresponding diff file



interactive