Re: [rtc-linux] [PATCH 2/2] rtc: Add support in Makefile/Kconfig for the LPC32XX RTC

From: Wan ZongShun
Date: Mon Aug 09 2010 - 21:46:03 EST


Hi Kevin ,

2010/8/10 <wellsk40@xxxxxxxxx>:
> From: Kevin Wells <wellsk40@xxxxxxxxx>
>
> Enable build RTC support for the LPC32XX in makefile/Kconfig
>

I think you can intergrate two patches [PATCH 1/2 2/2] into one rtc
driver patch.

> Signed-off-by: Kevin Wells <wellsk40@xxxxxxxxx>
> Signed-off-by: Durgesh Pattamatta <durgesh.pattamatta@xxxxxxx>
> ---
> Âdrivers/rtc/Kconfig Â| Â Â9 +++++++++
> Âdrivers/rtc/Makefile | Â Â1 +
> Â2 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index 4301a6c..8452788 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -916,4 +916,13 @@ config RTC_DRV_JZ4740
> Â Â Â Â ÂThis driver can also be buillt as a module. If so, the module
> Â Â Â Â Âwill be called rtc-jz4740.
>
> +config RTC_DRV_LPC32XX
> + Â Â Â Âdepends on ARCH_LPC32XX
> + Â Â Â Âtristate "NXP LPC32XX RTC"
> + Â Â Â Âhelp
> + Â Â Â Â ÂThis enables support for the NXP RTC in the LPC32XX
> +
> + Â Â Â Â This driver can also be buillt as a module. If so, the module
> + Â Â Â Â will be called rtc-lpc32xx.
> +
> Âendif # RTC_CLASS
> diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
> index fedf9bb..3b8af95 100644
> --- a/drivers/rtc/Makefile
> +++ b/drivers/rtc/Makefile
> @@ -48,6 +48,7 @@ obj-$(CONFIG_RTC_DRV_FM3130) Â+= rtc-fm3130.o
> Âobj-$(CONFIG_RTC_DRV_GENERIC) Â+= rtc-generic.o
> Âobj-$(CONFIG_RTC_DRV_ISL1208) Â+= rtc-isl1208.o
> Âobj-$(CONFIG_RTC_DRV_JZ4740) Â += rtc-jz4740.o
> +obj-$(CONFIG_RTC_DRV_LPC32XX) Â += rtc-lpc32xx.o
> Âobj-$(CONFIG_RTC_DRV_M41T80) Â += rtc-m41t80.o
> Âobj-$(CONFIG_RTC_DRV_M41T94) Â += rtc-m41t94.o
> Âobj-$(CONFIG_RTC_DRV_M48T35) Â += rtc-m48t35.o
> --
> 1.7.1.1
>
> --
> You received this message because you are subscribed to "rtc-linux".
> Membership options at http://groups.google.com/group/rtc-linux .
> Please read http://groups.google.com/group/rtc-linux/web/checklist
> before submitting a driver.



--
*linux-arm-kernel mailing list
mail addr:linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
you can subscribe by:
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

* linux-arm-NUC900 mailing list
mail addr:NUC900@xxxxxxxxxxxxxxxx
main web: https://groups.google.com/group/NUC900
you can subscribe it by sending me mail:
mcuos.com@xxxxxxxxx
--
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/