2011/11/3 Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>: > Cc: Nicolas Ferre <nicolas.ferre@xxxxxxxxx> > Cc: Patrice Vilchez <patrice.vilchez@xxxxxxxxx> > Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> > --- > arch/arm/mach-at91/include/mach/board.h | 22 ++++++++++++++++++++++ > 1 files changed, 22 insertions(+), 0 deletions(-) We're not supposed to have platform data dependent to stuff in staging under arch/arm or anyplace else in the main kernel tree. Please move this to drivers/staging/iio/adc/at91adc-board.h or so. As for calling the at91_add_device_adc() function (which I guess you want to do at some point) the pattern I followed for other drivers is to declare a dummy function in arch/arm/mach-* with __weak and let the staging driver override that. This way the staging driver can go away without any compilation trouble happening. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html