pnp: make the resource type an unsigned long
authorRene Herman <rene.herman@keyaccess.nl>
Thu, 16 Oct 2008 05:03:58 +0000 (22:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 13 Dec 2008 23:29:34 +0000 (15:29 -0800)
commitc53129f96b5f2d7fa3979d39a9b641bafec430b9
tree9cc322e5a097f90cb9d3958962d4eef17edb975d
parent39493f2809c5d4ee52ab118e0197644ad9490d13
pnp: make the resource type an unsigned long

commit b563cf59c4d67da7d671788a9848416bfa4180ab upstream.

PnP encodes the resource type directly as its struct resource->flags value
which is an unsigned long.  Make it so...

Signed-off-by: Rene Herman <rene.herman@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pnp/base.h
drivers/pnp/quirks.c
drivers/pnp/resource.c
include/linux/pnp.h