Re: [PATCH 1/6] rtc: ds1307: Add code to support ds1337/1341

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed,  6 Jan 2016 22:17:30 -0800
Andrey Smirnov <andrew.smirnov@xxxxxxxxx> wrote:

> Port DS1337 specific bits from corresponding Linux driver and add
> small changes needed for DS1341.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> ---
>  drivers/rtc/rtc-ds1307.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 91 insertions(+)
> 
> diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
> index d78faa8..2b46ae5 100644
> --- a/drivers/rtc/rtc-ds1307.c
> +++ b/drivers/rtc/rtc-ds1307.c
...
> @@ -263,6 +299,61 @@ static int ds1307_probe(struct device_d *dev)
>  	ds1307->read_block_data = ds1307_read_block_data;
>  	ds1307->write_block_data = ds1307_write_block_data;
> 
> +

Extra empty line here.

> +	switch (ds1307->type) {
> +	case ds_1337:
> +	case ds_1341:

...

-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux