linux-mips
[Top] [All Lists]

Re: [rtc-linux] [PATCH 01/02 resend] RTC: Add driver for DS1685 family o

To: rtc-linux@googlegroups.com, Joshua Kinard <kumba@gentoo.org>, Alessandro Zummo <a.zummo@towertech.it>, Ralf Baechle <ralf@linux-mips.org>, Linux MIPS List <linux-mips@linux-mips.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [rtc-linux] [PATCH 01/02 resend] RTC: Add driver for DS1685 family of real time clocks
From: Andrew Morton <akpm@linux-foundation.org>
Date: Mon, 9 Feb 2015 16:22:16 -0800
In-reply-to: <20150209161844.942ff2d0ecd709a331083bac@linux-foundation.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <548B6892.9040200@gentoo.org> <20150209161844.942ff2d0ecd709a331083bac@linux-foundation.org>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 9 Feb 2015 16:18:44 -0800 Andrew Morton <akpm@linux-foundation.org> 
wrote:

> > +   /* Platform read function, else default if mmio setup */
> > +   if (pdata->plat_read)
> > +           rtc->read = pdata->plat_read;
> 
> I'm trying to understand how this works and I'm not getting very far.

oop, never mind, it's there in patch 2/2.

<Prev in Thread] Current Thread [Next in Thread>