Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fpga: region: fix kernel-doc

Fix function name in of-fpga-region.c kernel-doc comment
to remove a warning found by running scripts/kernel-doc,
which is caused by using 'make W=1'.

drivers/fpga/of-fpga-region.c:451: warning: expecting prototype for
fpga_region_init(). Prototype was for of_fpga_region_init() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>

authored by

Yang Li and committed by
Moritz Fischer
98ceca2f ea59fc1b

+1 -1
+1 -1
drivers/fpga/of-fpga-region.c
··· 444 444 }; 445 445 446 446 /** 447 - * fpga_region_init - init function for fpga_region class 447 + * of_fpga_region_init - init function for fpga_region class 448 448 * Creates the fpga_region class and registers a reconfig notifier. 449 449 */ 450 450 static int __init of_fpga_region_init(void)