]> git.dujemihanovic.xyz Git - u-boot.git/commit
SMDK5250: Fix compiler warning for non-dt systems
authorVivek Gautam <gautam.vivek@samsung.com>
Tue, 5 Mar 2013 03:49:56 +0000 (03:49 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 29 Mar 2013 02:16:25 +0000 (11:16 +0900)
commit48e2218cd1d63fe968648796d81b8dd6f1cc2bf8
tree1f612595badc7708fbc4daae2dd37fc693ee5897
parent18637815a401248aef4582e8f379a37373767387
SMDK5250: Fix compiler warning for non-dt systems

Compiling for non-dt systems gives folowing warning:
smdk5250.c: In function 'board_eth_init':
smdk5250.c:152:6: warning: unused variable 'node' [-Wunused-variable]

Declare variable 'node' only for dt enabled systems to remove this
warning.

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>
board/samsung/smdk5250/smdk5250.c