diff options
| author | Yang Li <[email protected]> | 2021-12-03 06:19:13 +0000 |
|---|---|---|
| committer | Moritz Fischer <[email protected]> | 2021-12-10 04:06:54 +0000 |
| commit | 98ceca2f29325d6114ea77be719a68c467c103d6 (patch) | |
| tree | 9eb667dc53fd9e8a80c6e3d4841b048dcf4ff3b9 | |
| parent | fpga: stratix10-soc: Do not use ret uninitialized in s10_probe() (diff) | |
| download | kernel-98ceca2f29325d6114ea77be719a68c467c103d6.tar.gz kernel-98ceca2f29325d6114ea77be719a68c467c103d6.zip | |
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 <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
| -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) |
