Re: [PATCH] omap3-iommu: reorganize

From: Felipe Contreras
Date: Sun Sep 13 2009 - 16:37:04 EST


On Sun, Sep 13, 2009 at 11:19 PM, Felipe Contreras
<felipe.contreras@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/