[PATCH: 2.6.11-rc5] i2c chips: ds1337 RTC driver

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

 



I just posted a revised version. I forgot to include i2c-ids.h in
my original patch. The new patch should also fix the reference to
client->id.

/james

Andrew Morton wrote:

> James Chapman <jchapman at katalix.com> wrote:
> 
>>Add DS1337 RTC chip driver.
>>
> 
> 
> drivers/i2c/chips/ds1337.c:60: `I2C_DRIVERID_DS1337' undeclared here (not in a function)
> 
> 
> Also, there are changes in Greg's i2c tree which break your new driver:
> 
> drivers/i2c/chips/ds1337.c:60: initializer element is not constant
> drivers/i2c/chips/ds1337.c:60: (near initialization for `ds1337_driver.id')
> drivers/i2c/chips/ds1337.c: In function `ds1337_get_datetime':
> drivers/i2c/chips/ds1337.c:155: structure has no member named `id'
> drivers/i2c/chips/ds1337.c: In function `ds1337_set_datetime':
> drivers/i2c/chips/ds1337.c:206: structure has no member named `id'
> drivers/i2c/chips/ds1337.c: In function `ds1337_detect':
> drivers/i2c/chips/ds1337.c:333: structure has no member named `id'
> drivers/i2c/chips/ds1337.c:343: structure has no member named `id'
> 
> 
> 
> 


-- 
James Chapman
E-mail  : jchapman at katalix.com
PGP key : http://www.katalix.com/~jchapman/pgpkey.txt



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux