]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PNP: add pnp_get_resource() interface
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:14 +0000 (16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:23 +0000 (03:22 -0400)
commitb90eca0a61ebd010036242e29610bc6a909e3f19
tree7f92620157786997dc0123b75b8c38b61e8dd2be
parentd948a8daa059cf5b3e7f002e7b92acf00fc70c49
PNP: add pnp_get_resource() interface

This adds a pnp_get_resource() that works the same way as
platform_get_resource().  This will enable us to consolidate
many pnp_resource_table references in one place, which will
make it easier to make the table dynamic.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-By: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/resource.c
include/linux/pnp.h