[<prev] [next>] [day] [month] [year] [list]
Message-ID: <94a0d4530909131336i4612b0c0jf19adaa4e6c3f166@mail.gmail.com>
Date: Sun, 13 Sep 2009 23:36:50 +0300
From: Felipe Contreras <felipe.contreras@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Felipe Contreras <felipe.contreras@...il.com>,
Russell King <linux@....linux.org.uk>,
"Tony Lindgren <tony@...mide.com> <tony@...mide.com>, Hiroshi DOYU
<Hiroshi.DOYU@...ia.com>," <linux-omap@...r.kernel.org>
Subject: Re: [PATCH] omap3-iommu: reorganize
On Sun, Sep 13, 2009 at 11:19 PM, Felipe Contreras
<felipe.contreras@...il.com> wrote:
> This way it's more object oriented and easier to see what is happening.
> No functional changes.
@@ -16,7 +16,7 @@
Sorry, I forgot to address some comments from Russell from a previous
version. I'll resend.
struct iommu_device {
resource_size_t base;
- resource_size_t irq;
+ int irq;
struct iommu_platform_data pdata;
struct resource res[2];
};
@@ -67,7 +67,7 @@ static int __init omap3_iommu_init(void)
res[0].start = d->base;
res[0].end = d->base + MMU_REG_SIZE - 1;
- res[1].start = d->irq;
+ res[1].start = res[1].end = d->irq;
err = platform_device_add_resources(pdev, res,
ARRAY_SIZE(res));
--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists