]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (7486): radio-cadet: wrap PNP probe code in #ifdef CONFIG_PNP
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 1 Apr 2008 00:21:48 +0000 (21:21 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 1 Apr 2008 22:35:47 +0000 (19:35 -0300)
commit044dfc99fe3e1e0fa85bbdd1936ee229e399250c
tree867fc2488c083796bec12b88bfb46d54ac6f9a08
parent19ac111c038537b73c9a0bca24bad123c2ba5f42
V4L/DVB (7486): radio-cadet: wrap PNP probe code in #ifdef CONFIG_PNP

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 <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/radio/radio-cadet.c