ad7606_ring.c:80:2: error: implicit declaration of function 'iio_push_to_buffers_with_timestamp'

Hi Team ,
I am trying to get the drivers/staging/iio/ad7606 drivers compiled externally.

The compilation fails with error mentioning implicit declaration of function , but in include i could find the function declaration .

Just to test if the Makefile is proper , i tried with hello-world module . hello-world.ko worked properly.

alt text

HI All ,
The problem could be addressed by compiling the driver in linux/driver/ rarther than trying the external path.