pnp: make the resource type an unsigned long
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>
This commit is contained in:

committed by
Linus Torvalds

parent
a63cc18f02
commit
b563cf59c4
@@ -147,7 +147,7 @@ char *pnp_resource_type_name(struct resource *res);
|
||||
void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc);
|
||||
|
||||
void pnp_free_resources(struct pnp_dev *dev);
|
||||
int pnp_resource_type(struct resource *res);
|
||||
unsigned long pnp_resource_type(struct resource *res);
|
||||
|
||||
struct pnp_resource {
|
||||
struct list_head list;
|
||||
|
Reference in New Issue
Block a user