cmd: fpga: Move fpga_get_op to avoid local function declaration
authorMichal Simek <michal.simek@xilinx.com>
Wed, 30 May 2018 08:00:40 +0000 (10:00 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 11 Sep 2018 08:58:41 +0000 (10:58 +0200)
commit323fe38e74a96a4585f04c356baa0b739e7b34b5
treeb58a19fc3084759c229d68e068cab86b8d361859
parent550109691ec87a129fd5c5777e1211257ff3c6c9
cmd: fpga: Move fpga_get_op to avoid local function declaration

Move fpga_get_op() to top of file to remove local function declaration
and also remove useless retyping.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/fpga.c