summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-10-05 22:14:29 +0300
committerTom Rini <[email protected]>2024-10-17 15:38:50 -0600
commit04efa7354fab2ee900988614559b7d77b65ab2b9 (patch)
treec0e63772572be3ff906c1378ef2ab165fe292773 /cmd
parentc01d6934a7d7ceb8e16cd791e7451e6d94161562 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]> [trini: Add 'struct cmd_tbl;' to irq_func.h] Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/irq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/irq.c b/cmd/irq.c
index 655aba576a8..da223b4b2cc 100644
--- a/cmd/irq.c
+++ b/cmd/irq.c
@@ -29,9 +29,6 @@ U_BOOT_CMD(
"[on, off]"
);
-/* Implemented in $(CPU)/interrupts.c */
-int do_irqinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
-
U_BOOT_CMD(
irqinfo, 1, 1, do_irqinfo,
"print information about IRQs",