lkml.org 
[lkml]   [2005]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 2.4] (3/5) I2C updates for 2.4.32-pre3
    Fix documentation to match code in include/linux/i2c-dev.h

    Signed-off-by: Jan Veldeman <jan@mind.be>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>

    Documentation/i2c/dev-interface | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    --- linux-2.4.31.orig/Documentation/i2c/dev-interface 2004-02-18 14:36:30.000000000 +0100
    +++ linux-2.4.31/Documentation/i2c/dev-interface 2005-07-13 23:27:06.000000000 +0200
    @@ -92,10 +92,10 @@
    ioctl(file,I2C_FUNCS,unsigned long *funcs)
    Gets the adapter functionality and puts it in *funcs.

    -ioctl(file,I2C_RDWR,struct i2c_ioctl_rdwr_data *msgset)
    +ioctl(file,I2C_RDWR,struct i2c_rdwr_ioctl_data *msgset)

    Do combined read/write transaction without stop in between.
    - The argument is a pointer to a struct i2c_ioctl_rdwr_data {
    + The argument is a pointer to a struct i2c_rdwr_ioctl_data {

    struct i2c_msg *msgs; /* ptr to array of simple messages */
    int nmsgs; /* number of messages to exchange */
    --
    Jean Delvare
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-08-14 17:14    [W:0.019 / U:30.920 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site