diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2021-01-02 20:35:09 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-01-13 11:33:53 +0000 |
commit | 7e64e5a895ecd9bf25c5d2b39ff3119dafa30489 (patch) | |
tree | b1cb98a5c984c124501b8e9bd1983da082d79a05 /src/flash/nand/at91sam9.c | |
parent | 4cf5ab614bd830355065bb9400acf5484dc3f2c3 (diff) | |
download | riscv-openocd-7e64e5a895ecd9bf25c5d2b39ff3119dafa30489.zip riscv-openocd-7e64e5a895ecd9bf25c5d2b39ff3119dafa30489.tar.gz riscv-openocd-7e64e5a895ecd9bf25c5d2b39ff3119dafa30489.tar.bz2 |
openocd: fix doxygen parameters of functions
Add to doxygen comment the missing parameters.
Remove from doxygen comment any non-existing parameter.
Fix the parameter names in doxygen comment to match the one in the
function prototype.
Where the parameter name in the doxygen description seems better
than the one in the code, change the code.
Escape the character '<' to prevent doxygen to interpret it as an
xml tag.
Change-Id: I22da723339ac7d7a7a64ac4c1cc4336e2416c2cc
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6002
Tested-by: jenkins
Diffstat (limited to 'src/flash/nand/at91sam9.c')
-rw-r--r-- | src/flash/nand/at91sam9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nand/at91sam9.c b/src/flash/nand/at91sam9.c index 47c0505..234dd70 100644 --- a/src/flash/nand/at91sam9.c +++ b/src/flash/nand/at91sam9.c @@ -105,7 +105,7 @@ static int at91sam9_init(struct nand_device *nand) /** * Enable NAND device attached to a controller. * - * @param info NAND controller information for controlling NAND device. + * @param nand NAND controller information for controlling NAND device. * @return Success or failure of the enabling. */ static int at91sam9_enable(struct nand_device *nand) @@ -119,7 +119,7 @@ static int at91sam9_enable(struct nand_device *nand) /** * Disable NAND device attached to a controller. * - * @param info NAND controller information for controlling NAND device. + * @param nand NAND controller information for controlling NAND device. * @return Success or failure of the disabling. */ static int at91sam9_disable(struct nand_device *nand) |