isdn: mISDN HFC PCI support depends on virt_to_bus()
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 27 Jul 2008 16:37:32 +0000 (02:37 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 27 Jul 2008 16:58:20 +0000 (09:58 -0700)
On powerpc (allyesconfig build) we get this error:

drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of function 'virt_to_bus'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/hardware/mISDN/Kconfig

index 14793480c453e0e915a4188dc697af6e9e5b416e..9cd5f5f62280042f870f606a8e2da8d43fe2c8cc 100644 (file)
@@ -7,6 +7,7 @@ config MISDN_HFCPCI
        tristate "Support for HFC PCI cards"
        depends on MISDN
        depends on PCI
+       depends on VIRT_TO_BUS
        help
          Enable support for cards with Cologne Chip AG's
           HFC PCI chip.