Re: [PATCH 1/2] User access to internal clocks

From: Russell King - ARM Linux
Date: Mon Feb 09 2009 - 12:11:05 EST


On Mon, Feb 09, 2009 at 06:04:29PM +0100, Davide Rizzo wrote:
> To: Greg KH <gregkh@xxxxxxx>
> Cc: "Hans J. Koch" <hjk@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx,
> ben-linux@xxxxxxxxx, linux-api@xxxxxxxxxxxxxxx
>
> This driver is for user level programs to interact with system clocks.
> It allows to read and modify rates and parents, using virtual files.
> It requires the implementation of 2 additional functions in the clk interface:
> clk_for_each() and clk_name().
> Actually I implemented that functions only for Samsung S3C24xx platform.

NAK.

> + name = clk_get_name(clk);

This implies that there is a 1:1 relationship between a 'name' and a
struct clk. No such thing exists (and where it does, it's being
eliminated in ARM because it's just plain and simple WRONG.)
--
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/