lkml.org 
[lkml]   [2003]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [PATCH] i2c driver changes for 2.5.67
    From
    Date
    ChangeSet 1.1033.3.3, 2003/04/07 09:38:53-07:00, greg@kroah.com

    i2c: fix up via686a.c driver based on previous i2c api changes.


    drivers/i2c/chips/via686a.c | 6 ++----
    1 files changed, 2 insertions(+), 4 deletions(-)


    diff -Nru a/drivers/i2c/chips/via686a.c b/drivers/i2c/chips/via686a.c
    --- a/drivers/i2c/chips/via686a.c Wed Apr 9 15:16:40 2003
    +++ b/drivers/i2c/chips/via686a.c Wed Apr 9 15:16:40 2003
    @@ -390,8 +390,7 @@
    static struct pci_dev *s_bridge; /* pointer to the (only) via686a */

    static int via686a_attach_adapter(struct i2c_adapter *adapter);
    -static int via686a_detect(struct i2c_adapter *adapter, int address,
    - unsigned short flags, int kind);
    +static int via686a_detect(struct i2c_adapter *adapter, int address, int kind);
    static int via686a_detach_client(struct i2c_client *client);

    static inline int via686a_read_value(struct i2c_client *client, u8 reg)
    @@ -665,8 +664,7 @@
    return i2c_detect(adapter, &addr_data, via686a_detect);
    }

    -static int via686a_detect(struct i2c_adapter *adapter, int address,
    - unsigned short flags, int kind)
    +static int via686a_detect(struct i2c_adapter *adapter, int address, int kind)
    {
    struct i2c_client *new_client;
    struct via686a_data *data;
    -
    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-03-22 13:34    [W:0.066 / U:0.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site