]> git.baikalelectronics.ru Git - kernel.git/commit
pnp: fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y
authorDavid Howells <dhowells@redhat.com>
Sat, 26 Jul 2008 02:44:47 +0000 (19:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:02 +0000 (12:00 -0700)
commit8b53ad4ecd306a72783202c6e81790a7f284c133
tree41c198953a1b2519322b67df4a315b2233998f9b
parentdb2bdead856bf7d08237f098846b18e7096647de
pnp: fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y

Fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y as it's
only accessed in that case.

The PNP=n variant was added by 7a44078db27e8e842510950d9e6f2af6561a73f8
("hisax: depend on CONFIG_PNP, not __ISAPNP__")

Fixes an unused variable warning.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/hisax/hisax_fcpcipnp.c