[i2c] [patch] DS1682 add SESNSORS Kconfig variable prefix

Grant Likely grant.likely at secretlab.ca
Sun Aug 5 16:36:26 CEST 2007


On 8/5/07, maximilian attems <max at stro.at> wrote:
> the new DS1682 chip driver "polluates" global Kconfig namespace.
> make it consistent with ds1337, ds1374 and friends.
>
> Signed-off-by: maximilian attems <max at stro.at>
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>

>
> ---
>
>  drivers/i2c/chips/Kconfig  |    2 +-
>  drivers/i2c/chips/Makefile |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig
> index 2e1c24f..b1ae427 100644
> --- a/drivers/i2c/chips/Kconfig
> +++ b/drivers/i2c/chips/Kconfig
> @@ -30,7 +30,7 @@ config SENSORS_DS1374
>           This driver is deprecated and will be dropped soon. Use
>           rtc-ds1374 instead.
>
> -config DS1682
> +config SENSORS_DS1682
>         tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
>         depends on EXPERIMENTAL
>         help
> diff --git a/drivers/i2c/chips/Makefile b/drivers/i2c/chips/Makefile
> index ca924e1..6ebaed2 100644
> --- a/drivers/i2c/chips/Makefile
> +++ b/drivers/i2c/chips/Makefile
> @@ -4,7 +4,7 @@
>
>  obj-$(CONFIG_SENSORS_DS1337)   += ds1337.o
>  obj-$(CONFIG_SENSORS_DS1374)   += ds1374.o
> -obj-$(CONFIG_DS1682)           += ds1682.o
> +obj-$(CONFIG_SENSORS_DS1682)   += ds1682.o
>  obj-$(CONFIG_SENSORS_EEPROM)   += eeprom.o
>  obj-$(CONFIG_SENSORS_MAX6875)  += max6875.o
>  obj-$(CONFIG_SENSORS_M41T00)   += m41t00.o
>
> --
> maks
>


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195



More information about the i2c mailing list