On Sun, Sep 13, 2009 at 11:19 PM, Felipe Contreras
<[email protected]> 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-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to