On 18/12/2015 12:22, Mauro Carvalho Chehab wrote: > Patch applied. Great! Thanks. Using the latest media_build master + my writel_relaxed work-around, compilation proceeds much further, then dies on device tree stuff: (same error with vanilla and custom kernel) Will look into it. Any idea? :-( By the way, if I was not clear, I'm cross-compiling for an ARM platform. CC [M] /tmp/sandbox/media_build/v4l/v4l2-of.o /tmp/sandbox/media_build/v4l/v4l2-of.c: In function 'v4l2_of_parse_csi_bus': /tmp/sandbox/media_build/v4l/v4l2-of.c:38:4: error: implicit declaration of function 'of_prop_next_u32' [-Werror=implicit-function-declaration] lane = of_prop_next_u32(prop, lane, &v); ^ /tmp/sandbox/media_build/v4l/v4l2-of.c:38:9: warning: assignment makes pointer from integer without a cast lane = of_prop_next_u32(prop, lane, &v); ^ /tmp/sandbox/media_build/v4l/v4l2-of.c:52:13: warning: assignment makes pointer from integer without a cast polarity = of_prop_next_u32(prop, polarity, &v); ^ /tmp/sandbox/media_build/v4l/v4l2-of.c: In function 'v4l2_of_parse_link': /tmp/sandbox/media_build/v4l/v4l2-of.c:287:24: warning: passing argument 1 of 'of_parse_phandle' discards 'const' qualifier from pointer target type np = of_parse_phandle(node, "remote-endpoint", 0); ^ In file included from include/linux/i2c.h:36:0, from /tmp/sandbox/media_build/v4l/compat.h:977, from <command-line>:0: include/linux/of.h:237:28: note: expected 'struct device_node *' but argument is of type 'const struct device_node *' extern struct device_node *of_parse_phandle(struct device_node *np, ^ cc1: some warnings being treated as errors make[3]: *** [/tmp/sandbox/media_build/v4l/v4l2-of.o] Error 1 make[2]: *** [_module_/tmp/sandbox/media_build/v4l] Error 2 make[2]: Leaving directory `/tmp/sandbox/linux-3.4.39' make[1]: *** [default] Error 2 make[1]: Leaving directory `/tmp/sandbox/media_build/v4l' make: *** [all] Error 2 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html