sh_mmcif.c (d033a308d81ec83908760a15a841c2bd0d5e0ea3) sh_mmcif.c (c3be1efd41a97f93be390240387d356a07b664c7)
1/*
2 * MMCIF eMMC driver.
3 *
4 * Copyright (C) 2010 Renesas Solutions Corp.
5 * Yusuke Goda <yusuke.goda.sx@renesas.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 1288 unchanged lines hidden (view full) ---

1297 return;
1298
1299 if (!mmc->ocr_avail)
1300 mmc->ocr_avail = pd->ocr;
1301 else if (pd->ocr)
1302 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n");
1303}
1304
1/*
2 * MMCIF eMMC driver.
3 *
4 * Copyright (C) 2010 Renesas Solutions Corp.
5 * Yusuke Goda <yusuke.goda.sx@renesas.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 1288 unchanged lines hidden (view full) ---

1297 return;
1298
1299 if (!mmc->ocr_avail)
1300 mmc->ocr_avail = pd->ocr;
1301 else if (pd->ocr)
1302 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n");
1303}
1304
1305static int __devinit sh_mmcif_probe(struct platform_device *pdev)
1305static int sh_mmcif_probe(struct platform_device *pdev)
1306{
1307 int ret = 0, irq[2];
1308 struct mmc_host *mmc;
1309 struct sh_mmcif_host *host;
1310 struct sh_mmcif_plat_data *pd = pdev->dev.platform_data;
1311 struct resource *res;
1312 void __iomem *reg;
1313 char clk_name[8];

--- 214 unchanged lines hidden ---
1306{
1307 int ret = 0, irq[2];
1308 struct mmc_host *mmc;
1309 struct sh_mmcif_host *host;
1310 struct sh_mmcif_plat_data *pd = pdev->dev.platform_data;
1311 struct resource *res;
1312 void __iomem *reg;
1313 char clk_name[8];

--- 214 unchanged lines hidden ---