Hi Antony, On Tuesday 27 May 2014 16:04:11 Antony Pavlov wrote: > [...] > If you use #ifdef: > > #ifdef CONFIG_DEBUG_FS > err = tegra_dsi_debugfs_init(dsi, tegra->drm->primary); > if (err < 0) > dev_err(dsi->dev, "debugfs setup failed: %d\n", err); > #endif > > then you get jut the same result but without checking the code under #ifdef > CONFIG_DEBUG_FS. A syntax check is always done by the pre-processor. So, the code between the #ifdef/#endif must be valid C code or be commented out. But there is no further check, because the lines between the #ifdef/#endif are never seen by the compiler. jbe -- Pengutronix e.K. | Juergen Borleis | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox