]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit99e56e2b9f48a51762c3cb867ce6fab5c673280d
treeb58a19fc3084759c229d68e068cab86b8d361859
parenta12b5cf88c808baf42da6dbe54a96f490b3f601a
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