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

« back to all changes in this revision

Viewing changes to arch/arm/mach-ux500/devices-common.h

  • 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:
28
28
 
29
29
static inline struct amba_device *
30
30
dbx500_add_spi(const char *name, resource_size_t base, int irq,
31
 
                                   struct spi_master_cntlr *pdata)
 
31
               struct spi_master_cntlr *pdata,
 
32
               u32 periphid)
32
33
{
33
 
        return dbx500_add_amba_device(name, base, irq, pdata, 0);
 
34
        return dbx500_add_amba_device(name, base, irq, pdata, periphid);
34
35
}
35
36
 
36
37
struct mmci_platform_data;
37
38
 
38
39
static inline struct amba_device *
39
40
dbx500_add_sdi(const char *name, resource_size_t base, int irq,
40
 
               struct mmci_platform_data *pdata)
 
41
               struct mmci_platform_data *pdata,
 
42
               u32 periphid)
41
43
{
42
 
        return dbx500_add_amba_device(name, base, irq, pdata, 0);
 
44
        return dbx500_add_amba_device(name, base, irq, pdata, periphid);
43
45
}
44
46
 
45
47
struct amba_pl011_data;