On Tue, Aug 25, 2009 at 11:36:48AM +0200, Christian Herzig wrote:
> add two new prototypes: one for registrating a single device and one, for 
> registrating devices behind muxes.
> 
> Signed-off-by: Christian Herzig <[email protected]>
> ---
>  include/linux/of_i2c.h |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/include/linux/of_i2c.h b/include/linux/of_i2c.h
> index 34974b5..111c919 100644
> --- a/include/linux/of_i2c.h
> +++ b/include/linux/of_i2c.h
> @@ -17,6 +17,11 @@
>  void of_register_i2c_devices(struct i2c_adapter *adap,
>                            struct device_node *adap_node);
>  
> +void of_register_i2c_devices_behind_muxes(struct i2c_adapter *adap,
> +                     struct device_node *mux_node, int channel);
> +
> +void of_register_i2c_device(struct i2c_adapter *adap, struct device_node 
> *dn);
> +
>  /* must call put_device() when done with returned i2c_client device */
>  struct i2c_client *of_find_i2c_device_by_node(struct device_node *node);
>  
> -- 
> 1.6.0.1

Please, group patches into logical steps. I suppose is better move
these modifications into next patch.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: [email protected]
Linux Device Driver                          [email protected]
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to