From: Bjorn Helgaas Wrap PNP probe code in #ifdef CONFIG_PNP. 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 Cc: Stephen Rothwell Cc: Kamalesh Babulal Cc: Samuel Ortiz Signed-off-by: Andrew Morton --- drivers/net/irda/smsc-ircc2.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff -puN drivers/net/irda/smsc-ircc2.c~smsc-ircc2-wrap-pnp-probe-code-in-ifdef-config_pnp drivers/net/irda/smsc-ircc2.c --- a/drivers/net/irda/smsc-ircc2.c~smsc-ircc2-wrap-pnp-probe-code-in-ifdef-config_pnp +++ a/drivers/net/irda/smsc-ircc2.c @@ -79,9 +79,13 @@ MODULE_AUTHOR("Daniele Peri