Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/drzeus/mmc

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
  mmc: fix au1xmmc build error
  mmc: pxamci compilation fix
  • Loading branch information
Linus Torvalds committed Dec 8, 2006
2 parents 7bf6538 + bf8c80a commit 1709775
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/mmc/au1xmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ static void au1xmmc_init_dma(struct au1xmmc_host *host)
host->rx_chan = rxchan;
}

struct const mmc_host_ops au1xmmc_ops = {
static const struct mmc_host_ops au1xmmc_ops = {
.request = au1xmmc_request,
.set_ios = au1xmmc_set_ios,
};
Expand Down
4 changes: 2 additions & 2 deletions drivers/mmc/pxamci.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ static int pxamci_get_ro(struct mmc_host *mmc)
struct pxamci_host *host = mmc_priv(mmc);

if (host->pdata && host->pdata->get_ro)
return host->pdata->get_ro(mmc->dev);
return host->pdata->get_ro(mmc_dev(mmc));
/* Host doesn't support read only detection so assume writeable */
return 0;
}
Expand Down Expand Up @@ -383,7 +383,7 @@ static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
host->power_mode = ios->power_mode;

if (host->pdata && host->pdata->setpower)
host->pdata->setpower(mmc->dev, ios->vdd);
host->pdata->setpower(mmc_dev(mmc), ios->vdd);

if (ios->power_mode == MMC_POWER_ON)
host->cmdat |= CMDAT_INIT;
Expand Down

0 comments on commit 1709775

Please sign in to comment.