Re: [PATCH] staging/comedi: Add VIRT_TO_BUS dependency to 'fix' buildfailure

From: Ian Abbott
Date: Mon May 13 2013 - 05:45:32 EST


On 2013-05-12 23:00, Peter Huewe wrote:
If the platform does not provide virt_to_bus the ni_labpc.c driver fails to
compile.
In order not to break these builds we have to add a depends on
CONFIG_VIRT_TO_BUS to the affected drivers.

Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Signed-off-by: Peter Huewe <peterhuewe@xxxxxx>

I'll submit an alternate patch that won't break compilation of ni_labpc.c and doesn't depend on CONFIG_VIRT_TO_BUS.

--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/