Build error in RTC driver for DVEVM

2008-09-04 Thread Pablo Bitton
Hi to all,

I have checked out the latest kernel version from here:
http://source.mvista.com/git/?p=linux-davinci-2.6.git;a=commit;h=a02b8fef27d8590e039a78f559146bb9ae36fe04

I am using CodeSourcery's toolchain from here:
http://www.codesourcery.com/gnu_toolchains/arm/portal/release324

After unpacking and setting ARCH and CROSS_COMPILE, I ran the
following commands:
$ make distclean
$ make davinci_evm_dm644x_defconfig
$ make uImage
$ make modules

The last build command failed with the following error message:
 CC [M]  drivers/rtc/rtc-davinci-evm.o
drivers/rtc/rtc-davinci-evm.c:33:29 error: mach/i2c-client.h: No such
file or directory

It seems that the file i2c-client.h was deleted by the commit above
(a02b8fef27d8590e039a78f559146bb9ae36fe04),
but the drivers/rtc/rtc-davinci-evm.c still depends on it.

Am I correct?

Thanks in advance.

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: Build error in RTC driver for DVEVM

2008-09-04 Thread Kevin Hilman
"Pablo Bitton" <[EMAIL PROTECTED]> writes:

> Hi to all,
>
> I have checked out the latest kernel version from here:
> http://source.mvista.com/git/?p=linux-davinci-2.6.git;a=commit;h=a02b8fef27d8590e039a78f559146bb9ae36fe04
>
> I am using CodeSourcery's toolchain from here:
> http://www.codesourcery.com/gnu_toolchains/arm/portal/release324
>
> After unpacking and setting ARCH and CROSS_COMPILE, I ran the
> following commands:
> $ make distclean
> $ make davinci_evm_dm644x_defconfig
> $ make uImage
> $ make modules
>
> The last build command failed with the following error message:
>  CC [M]  drivers/rtc/rtc-davinci-evm.o
> drivers/rtc/rtc-davinci-evm.c:33:29 error: mach/i2c-client.h: No such
> file or directory
>
> It seems that the file i2c-client.h was deleted by the commit above
> (a02b8fef27d8590e039a78f559146bb9ae36fe04),
> but the drivers/rtc/rtc-davinci-evm.c still depends on it.
>
> Am I correct?
>

You're correct.

The RTC is on the msp430, and the msp430 interface has yet to be updated
to the new i2c interface.

Kevin

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source