]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: irq: Move do_irqinfo() prototype to a header file
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 5 Oct 2024 19:14:29 +0000 (22:14 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 17 Oct 2024 21:38:50 +0000 (15:38 -0600)
commit04efa7354fab2ee900988614559b7d77b65ab2b9
treec0e63772572be3ff906c1378ef2ab165fe292773
parentc01d6934a7d7ceb8e16cd791e7451e6d94161562
cmd: irq: Move do_irqinfo() prototype to a header file

Move do_irqinfo() prototype to a header file, otherwise compiler is not
happy:

  arch/x86/lib/interrupts.c:130:5: warning: no previous prototype for ‘do_irqinfo’ [-Wmissing-prototypes]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Add 'struct cmd_tbl;' to irq_func.h]
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/irq.c
include/irq_func.h