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

« back to all changes in this revision

Viewing changes to drivers/pnp/resource.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:
409
409
        return 1;
410
410
}
411
411
 
 
412
#ifdef CONFIG_ISA_DMA_API
412
413
int pnp_check_dma(struct pnp_dev *dev, struct resource *res)
413
414
{
414
 
#ifndef CONFIG_IA64
415
415
        int i;
416
416
        struct pnp_dev *tdev;
417
417
        struct resource *tres;
466
466
        }
467
467
 
468
468
        return 1;
469
 
#else
470
 
        /* IA64 does not have legacy DMA */
471
 
        return 0;
472
 
#endif
473
469
}
 
470
#endif /* CONFIG_ISA_DMA_API */
474
471
 
475
472
unsigned long pnp_resource_type(struct resource *res)
476
473
{