Re: [PATCH 4/6] of_i2c.h: add new prototypes to of_i2c header file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <christian.herzig@xxxxxxxxxxx>
> ---
>  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: giometti@xxxxxxxxxxxx
Linux Device Driver                          giometti@xxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux