fpga: altera: Move altera_validate to the top
authorMarek Vasut <marex@denx.de>
Tue, 16 Sep 2014 18:32:51 +0000 (20:32 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 15:31:41 +0000 (17:31 +0200)
commit54c96b18a22a6ee5d5a67c057ed5d3812ac16b39
tree0e4aa3467c9ea6d3b79c1ca504eceea3743dc60d
parent4a4c0a5e9a2b65711f733bc2178e506131b0693b
fpga: altera: Move altera_validate to the top

Move the function to the top of the file to avoid forward declaration.
No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
drivers/fpga/altera.c