On Sat, May 30, 2015 at 12:24:42PM +0530, Sudip Mukherjee wrote:
On Sat, May 30, 2015 at 12:45:22AM +0300, Vladimirs Ambrosovs wrote:
The functions iio_dummy_remove(), iio_simple_dummy_events_unregister() and
iio_dummy_evgen_release_irq() were changed to return void instead of int,
because these functions always return 0.
Signed-off-by: Vladimirs Ambrosovs rodriguez.twis...@gmail.com
oops. it breaks the build.
drivers/staging/iio/iio_simple_dummy_events.c:260:6: error: conflicting types
for ‘iio_simple_dummy_events_unregister’
In file included from drivers/staging/iio/iio_simple_dummy_events.c:18:0:
drivers/staging/iio/iio_simple_dummy.h:82:5: note: previous declaration of
‘iio_simple_dummy_events_unregister’ was here
drivers/staging/iio/iio_dummy_evgen.c:131:6: error: conflicting types for
‘iio_dummy_evgen_release_irq’
In file included from drivers/staging/iio/iio_dummy_evgen.c:24:0:
drivers/staging/iio/iio_dummy_evgen.h:11:5: note: previous declaration of
‘iio_dummy_evgen_release_irq’ was here
drivers/staging/iio/iio_dummy_evgen.c:137:1: error: conflicting types for
‘iio_dummy_evgen_release_irq’
In file included from drivers/staging/iio/iio_dummy_evgen.c:24:0:
drivers/staging/iio/iio_dummy_evgen.h:11:5: note: previous declaration of
‘iio_dummy_evgen_release_irq’ was here
regards
sudip
Oops, that's embarassing... Sure, I did check it..
Thanks Sudip, will fix it.
BR,
Vladimirs
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel