Staging: comedi: fix build breakages on some platforms
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2011 21:43:34 +0000 (14:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2011 21:43:34 +0000 (14:43 -0700)
commita73738e9f85fa6ba3f1f9a6ea95b5e5fa99579a2
tree1abb0512c8291fea61e299eb2df35597047dee31
parentd4620396d7e9759dd3f37a8155827477cf2b5309
Staging: comedi: fix build breakages on some platforms

Some platforms do not have virt_to_bus(), so properly depend on
CONFIG_VIRT_TO_BUS for the Comedi drivers that need this function.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/Kconfig