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

« back to all changes in this revision

Viewing changes to drivers/mmc/host/sdhci-spear.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:
50
50
        /* val == 1 -> card removed, val == 0 -> card inserted */
51
51
        /* if card removed - set irq for low level, else vice versa */
52
52
        gpio_irq_type = val ? IRQF_TRIGGER_LOW : IRQF_TRIGGER_HIGH;
53
 
        set_irq_type(irq, gpio_irq_type);
 
53
        irq_set_irq_type(irq, gpio_irq_type);
54
54
 
55
55
        if (sdhci->data->card_power_gpio >= 0) {
56
56
                if (!sdhci->data->power_always_enb) {