Re: [PATCH 3/4] UIO: wrap all uio drivers in "if UIO" and "endif"
From: Hans J. Koch
Date: Thu Apr 10 2008 - 15:45:31 EST
On Thu, Apr 10, 2008 at 02:37:02PM +0200, Uwe Kleine-KÃnig wrote:
> currently there is only one driver, but new entries don't need to depend
> explicitly on UIO.
Agreed.
Signed-off-by: Hans J Koch <hjk@xxxxxxxxxxxxx>
>
> Signed-off-by: Uwe Kleine-KÃnig <Uwe.Kleine-Koenig@xxxxxxxx>
> ---
> drivers/uio/Kconfig | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
> index a899306..6bc2891 100644
> --- a/drivers/uio/Kconfig
> +++ b/drivers/uio/Kconfig
> @@ -11,9 +11,11 @@ menuconfig UIO
>
> If you don't know what to do here, say N.
>
> +if UIO
> +
> config UIO_CIF
> tristate "generic Hilscher CIF Card driver"
> - depends on UIO && PCI
> + depends on PCI
> default n
> help
> Driver for Hilscher CIF DeviceNet and Profibus cards. This
> @@ -23,3 +25,5 @@ config UIO_CIF
>
> To compile this driver as a module, choose M here: the module
> will be called uio_cif.
> +
> +endif
> --
> 1.5.4.5
--
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/