diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-12-03 09:19:13 +0300 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2021-12-10 07:06:54 +0300 |
commit | 98ceca2f29325d6114ea77be719a68c467c103d6 (patch) | |
tree | 9eb667dc53fd9e8a80c6e3d4841b048dcf4ff3b9 | |
parent | ea59fc1beff1358966b213b4df89aca3f7dec157 (diff) |
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>
-rw-r--r-- | drivers/fpga/of-fpga-region.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/of-fpga-region.c b/drivers/fpga/of-fpga-region.c index 9c662db1c508..50b83057c048 100644 --- a/drivers/fpga/of-fpga-region.c +++ b/drivers/fpga/of-fpga-region.c @@ -444,7 +444,7 @@ static struct platform_driver of_fpga_region_driver = { }; /** - * fpga_region_init - init function for fpga_region class + * of_fpga_region_init - init function for fpga_region class * Creates the fpga_region class and registers a reconfig notifier. */ static int __init of_fpga_region_init(void) |