[RFC PATCH 1/3] iio: Move iio dummy modules from drivers/staging/iio/ to drivers/iio/dummy/
Daniel Baluta
daniel.baluta at gmail.com
Fri Feb 6 10:26:53 EET 2015
Hi,
Subject should be shorter.
e.g
iio: Move dummy modules out of staging
On Sun, Feb 1, 2015 at 2:03 AM, Roberta Dobrescu
<roberta.dobrescu at gmail.com> wrote:
> This patch moves iio dummy modules from drivers/staging/iio/ out of
> staging, to drivers/iio/dummy/.
>
> It also adds Makefile and Kconfig files and removes the entries that will
> no longer be needed from drivers/staging/iio/Kconfig and drivers/staging/iio/Makefile.
>
> The corresponding config options are removed from IIO Staging Drivers menu and
> added to a new IIO Dummy Modules menu.
>
> Signed-off-by: Roberta Dobrescu <roberta.dobrescu at gmail.com>
<snip>
> diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
> index 345395e..f1c8dc3 100644
> --- a/drivers/iio/Kconfig
> +++ b/drivers/iio/Kconfig
> @@ -77,5 +77,6 @@ endif #IIO_TRIGGER
> source "drivers/iio/pressure/Kconfig"
> source "drivers/iio/proximity/Kconfig"
> source "drivers/iio/temperature/Kconfig"
> +source "drivers/iio/dummy/Kconfig"
Let's keep this sorted. Add dummy/Kconfig just before
dac/Kconfig.
>
> endif # IIO
> diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
> index 698afc2..a16d5f0 100644
> --- a/drivers/iio/Makefile
> +++ b/drivers/iio/Makefile
> @@ -27,3 +27,4 @@ obj-y += pressure/
> obj-y += proximity/
> obj-y += temperature/
> obj-y += trigger/
> +obj-y += dummy/
Same here.
> diff --git a/drivers/iio/dummy/Kconfig b/drivers/iio/dummy/Kconfig
> new file mode 100644
> index 0000000..80633fa
> --- /dev/null
> +++ b/drivers/iio/dummy/Kconfig
> @@ -0,0 +1,34 @@
> +#
> +# Industrial I/O subsystem configuration
> +#
> +menu "IIO Dummy Modules"
> + depends on IIO
No need for 'depends on IIO', this file is sourced from parent Kconfig
under #if IIO.
Otherwise looks good. Thanks Roberta.
Daniel.
More information about the firefly
mailing list