[U-Boot] [RFC PATCH 03/15] cmd: fpga: Move fpga_get_op to avoid local function declaration
Simon Glass
sjg at chromium.org
Thu Jul 19 01:32:31 UTC 2018
On 18 July 2018 at 09:16, Michal Simek <michal.simek at xilinx.com> wrote:
> 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 at xilinx.com>
> ---
>
> cmd/fpga.c | 85 ++++++++++++++++++++++++++++++--------------------------------
> 1 file changed, 41 insertions(+), 44 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
But can this not use a sub-command array?
- Simon
More information about the U-Boot
mailing list