[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48FC6F18.6040809@mimc.co.uk>
Date: Mon, 20 Oct 2008 12:44:24 +0100
From: Mark Jackson <mpfj@...c.co.uk>
To: Alessandro Zummo <alessandro.zummo@...ertech.it>
CC: dbrownell@...rs.sourceforge.net,
lkml <linux-kernel@...r.kernel.org>, rtc-linux@...glegroups.com,
spi-devel-general@...ts.sourceforge.net
Subject: Re: [PATCH v2] Add Dallas DS1390 RTC chip
Alessandro Zummo wrote:
> On Mon, 20 Oct 2008 09:41:18 +0100
> Mark Jackson <mpfj@...c.co.uk> wrote:
>
>> +struct ds1390 {
>> + struct rtc_device *rtc;
>> + u8 buf[9]; /* cmd + 8 registers */
>> + u8 tx_buf[2];
>> + u8 rx_buf[2];
>> +};
>> +
>
> don't we still have too many buffers?
Ah yes ... ooops !!
>
> the use of bin2bcd an bcd2bin (lowercase) would also be appreciated.
>
Will do.
Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists