~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/mmc/host/via-sdmmc.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1087
1087
        struct mmc_host *mmc;
1088
1088
        struct via_crdr_mmc_host *sdhost;
1089
1089
        u32 base, len;
1090
 
        u8 rev, gatt;
 
1090
        u8  gatt;
1091
1091
        int ret;
1092
1092
 
1093
 
        pci_read_config_byte(pcidev, PCI_CLASS_REVISION, &rev);
1094
1093
        pr_info(DRV_NAME
1095
1094
                ": VIA SDMMC controller found at %s [%04x:%04x] (rev %x)\n",
1096
1095
                pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device,
1097
 
                (int)rev);
 
1096
                (int)pcidev->revision);
1098
1097
 
1099
1098
        ret = pci_enable_device(pcidev);
1100
1099
        if (ret)