PNP: skip UNSET MEM resources as well as DISABLED ones
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Thu, 5 Jun 2008 16:32:23 +0000 (10:32 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 Jun 2008 17:30:37 +0000 (10:30 -0700)
commit5a515bcbea580a65ced92405b083299df9003748
treec8137929b7051c55b757bfe763216ce930401b57
parent6311c90a9ea16b4ab93ed48f1a9022647f6b3c43
PNP: skip UNSET MEM resources as well as DISABLED ones

We don't need to reserve "unset" resources.  Trying to reserve
them results in messages like this, which are ugly but harmless:

    system 00:08: iomem range 0x0-0x0 could not be reserved

Future PNP patches will remove use of IORESOURCE_UNSET, but
we still need it for now.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/system.c