Re: [RFC][PATCH] Add platform_get_resource_byname & platform_get_resource_byirq

From: Greg KH
Date: Fri Dec 17 2004 - 17:31:03 EST


On Wed, Dec 08, 2004 at 05:16:16PM -0600, Kumar Gala wrote:
> Adds the ability to find a resource or irq on a platform device by its
> resource name. This patch also tweaks how resource names get set.
> Before, resources names were set to pdev->dev.bus_id, now that only
> happens if the resource name has not been previous set.
>
> All of this allows us to find a resource without assuming what order the
> resources are in.
>
> Signed-off-by; Kumar Gala <kumar.gala@xxxxxxxxxxxxx>

Thanks, I've applied this (minus the bogus .h file, and plus the proper
.h file change.)

greg k-h
-
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/