mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] omap3-iommu: reorganize
       [not found] <1252873141-20496-1-git-send-email-felipe.contreras@gmail.com>
@ 2009-09-13 20:36 ` Felipe Contreras
  0 siblings, 0 replies; only message in thread
From: Felipe Contreras @ 2009-09-13 20:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Felipe Contreras, Russell King,
	Tony Lindgren <tony@atomide.com> <tony@atomide.com>,
	Hiroshi DOYU <Hiroshi.DOYU@nokia.com>,

On Sun, Sep 13, 2009 at 11:19 PM, Felipe Contreras
<felipe.contreras@gmail.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-13 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1252873141-20496-1-git-send-email-felipe.contreras@gmail.com>
2009-09-13 20:36 ` [PATCH] omap3-iommu: reorganize Felipe Contreras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®