parport_pc: wrap PNP probe code in #ifdef CONFIG_PNP
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 29 Apr 2008 08:03:22 +0000 (01:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:26 +0000 (08:06 -0700)
commitf2b9a3962c69754e8eeb3d578bb33fdb1cf97cca
tree8cbcbfeb759007a899bfc69d37877039ed702e62
parent9396d496d74587d46a74b93a8b6b41659d2daf2e
parport_pc: wrap PNP probe code in #ifdef CONFIG_PNP

Wrap PNP probe code in #ifdef CONFIG_PNP.  We already do the same for
CONFIG_PCI.

Without this change, we'll have unresolved references to pnp_get_resource()
function when CONFIG_PNP=n.  (This is a new interface that's not in mainline
yet.)

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parport/parport_pc.c