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

« back to all changes in this revision

Viewing changes to arch/arm/plat-omap/iommu-debug.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:
32
32
static ssize_t debug_read_ver(struct file *file, char __user *userbuf,
33
33
                              size_t count, loff_t *ppos)
34
34
{
35
 
        struct iommu *obj = file->private_data;
36
 
        u32 ver = iommu_arch_version(obj);
 
35
        u32 ver = iommu_arch_version();
37
36
        char buf[MAXCOLUMN], *p = buf;
38
37
 
39
38
        p += sprintf(p, "H/W version: %d.%d\n", (ver >> 4) & 0xf , ver & 0xf);