]> git.sur5r.net Git - u-boot/commit
spi: exynos: Fix compiler warnings for non-dt systems
authorVivek Gautam <gautam.vivek@samsung.com>
Tue, 5 Mar 2013 03:49:57 +0000 (03:49 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 29 Mar 2013 02:16:25 +0000 (11:16 +0900)
commit7d1795840889b4f21fbfb4196119d0c923706a54
treed2079c4f1c1f20ecdfb19515d7ddade522c6b9a6
parent48e2218cd1d63fe968648796d81b8dd6f1cc2bf8
spi: exynos: Fix compiler warnings for non-dt systems

Enclosing process_nodes() and spi_get_config() inside
CONFIG_OF_CONTROL, since they are compiled only for DT systems.

This fixes following warning:
exynos_spi.c:391:12: warning: 'process_nodes' defined but not used [-Wunused-function]

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/spi/exynos_spi.c