]> err.no Git - linux-2.6/commit
PNP: add pnp_resource_type() internal interface
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Fri, 27 Jun 2008 22:56:54 +0000 (16:56 -0600)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:05 +0000 (23:27 +0200)
commit940e98dbc616f1df7b63b73858a966969baf261d
tree23d8a266017d983abbb2737e6f674e69104d16ab
parent87e4acf3ebc02c9d0a2f7a37b655c49176c4d765
PNP: add pnp_resource_type() internal interface

Given a struct resource, this returns the type (IO, MEM, IRQ, DMA).

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/pnp/base.h
drivers/pnp/resource.c