Re: [PATCH 5/7] ARM: OMAP2+: hwmod: add omap_hwmod_get_mpu_irq() and omap_hwmod_get_mpu_rt_pa()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Mon, 30 Jan 2012, Tony Lindgren wrote:

> * Paul Walmsley <paul@xxxxxxxxx> [120130 01:47]:
> > The timer integration code pokes around in hwmod data structures.
> > Those data structures are about to change.  Define some functions for
> > the timer integration code to use instead.
> 
> Maybe these should use struct resource instead to make these more
> generic? Something like this maybe:
> 
> int omap_hwmod_get_resource(struct omap_hwmod *oh, unsigned int type,
> 				unsigned int num, struct resource *r);
> 
> Then the calling code would do:
> 
> 	...
> 	struct resource r;
> 	int res;
> 
> 	res = omap_hwmod_get_resource(oh, IORESOURCE_IRQ, 0, &r);
> 	...

That's a good idea and will definitely look into that.

- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux