[i2c] [patch 2.6.21-rc3-git +i2c 1/4] remove i2c_client.driver

David Brownell david-b at pacbell.net
Wed Mar 14 20:00:06 CET 2007


On Wednesday 14 March 2007 11:12 am, Jean Delvare wrote:
>
> --- linux-2.6.21-rc3.orig/drivers/rtc/rtc-ds1307.c	2007-02-04 19:44:54.000000000 +0100
> +++ linux-2.6.21-rc3/drivers/rtc/rtc-ds1307.c	2007-03-13 15:37:19.000000000 +0100
> @@ -201,7 +201,7 @@ ds1307_detect(struct i2c_adapter *adapte
>  	client = &ds1307->client;
>  	client->addr = address;
>  	client->adapter = adapter;
> -	client->driver = &ds1307_driver;
> +	client->dev.driver = &ds1307_driver.driver;
>  	client->flags = 0;
>  
>  	i2c_set_clientdata(client, ds1307);
> 
> 

You evidently didn't apply the patches converting this to
a new style driver yet.  :)

- Dave



More information about the i2c mailing list