[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140514162725.GG12911@katana>
Date: Wed, 14 May 2014 18:27:25 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org, Wan ZongShun <mcuos.com@...il.org>,
Marek Vasut <marek.vasut@...il.com>,
Baruch Siach <baruch@...s.co.il>
Subject: Re: [PATCH] i2c/nuc900: fix ancient build error
On Thu, May 08, 2014 at 04:56:22PM +0200, Arnd Bergmann wrote:
> As far as I can tell, this driver must have produced this error
> for as long as it has been merged into the mainline kernel, but
> it was never part of the normal build tests:
>
> drivers/i2c/busses/i2c-nuc900.c: In function 'nuc900_i2c_probe':
> drivers/i2c/busses/i2c-nuc900.c:601:17: error: request for member 'apbfreq' in something not a structure or union
> ret = (i2c->clk.apbfreq)/(pdata->bus_freq * 5) - 1;
> ^
>
> This is an attempt to get the driver to build and possibly
> work correctly, although I do wonder whether we should just
> remove it, as it has clearly never worked.
I'd go for removing. For this platform, the last patch which was not a
generic cleanup seems to be from late 2011?
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists