diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-30 03:29:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-30 03:29:31 +0000 |
commit | 285f7674cea10d5c9c9bc99a5ac7ba376529fab7 (patch) | |
tree | 72b5c14e7d56b875349f5291dda020c5acb9633c | |
parent | 3d3e234c567d560758a05fbaa9e0e6e0828d80ba (diff) | |
download | px4-nuttx-285f7674cea10d5c9c9bc99a5ac7ba376529fab7.tar.gz px4-nuttx-285f7674cea10d5c9c9bc99a5ac7ba376529fab7.tar.bz2 px4-nuttx-285f7674cea10d5c9c9bc99a5ac7ba376529fab7.zip |
Fix typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2817 42af7a65-404d-4744-a932-0658087f49c3
-rwxr-xr-x | nuttx/arch/arm/src/lpc313x/lpc313x_bcrndx.c | 6 | ||||
-rwxr-xr-x | nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h | 8 | ||||
-rwxr-xr-x | nuttx/arch/arm/src/lpc313x/lpc313x_clkinit.c | 6 | ||||
-rwxr-xr-x | nuttx/arch/arm/src/lpc313x/lpc313x_esrndx.c | 6 | ||||
-rwxr-xr-x | nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c | 2 | ||||
-rwxr-xr-x | nuttx/arch/arm/src/lpc313x/lpc313x_resetclks.c | 4 | ||||
-rwxr-xr-x | nuttx/arch/arm/src/lpc313x/lpc313x_setfdiv.c | 2 |
7 files changed, 17 insertions, 17 deletions
diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_bcrndx.c b/nuttx/arch/arm/src/lpc313x/lpc313x_bcrndx.c index 873712fd8..99935387d 100755 --- a/nuttx/arch/arm/src/lpc313x/lpc313x_bcrndx.c +++ b/nuttx/arch/arm/src/lpc313x/lpc313x_bcrndx.c @@ -1,7 +1,7 @@ /************************************************************************ * arch/arm/src/lpc313x/lpc313x_bcrndx.c * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * References: @@ -64,7 +64,7 @@ ************************************************************************/ /************************************************************************ - * Name: lp313x_bcrndx + * Name: lpc313x_bcrndx * * Description: * Only 5 of the 12 domains have an associated BCR register. This @@ -73,7 +73,7 @@ * ************************************************************************/ -int lp313x_bcrndx(enum lpc313x_domainid_e dmnid) +int lpc313x_bcrndx(enum lpc313x_domainid_e dmnid) { switch (dmnid) { diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h b/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h index 8addcc67f..b728d2b2e 100755 --- a/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h +++ b/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h @@ -721,7 +721,7 @@ EXTERN void lpc313x_softreset(enum lpc313x_resetid_e resetid); EXTERN enum lpc313x_domainid_e lpc313x_clkdomain(enum lpc313x_clockid_e clkid); /************************************************************************ - * Name: lp313x_esrndx + * Name: lpc313x_esrndx * * Description: * Given a clock ID, return the index of the corresponding ESR @@ -740,10 +740,10 @@ EXTERN enum lpc313x_domainid_e lpc313x_clkdomain(enum lpc313x_clockid_e clkid); * ************************************************************************/ -EXTERN int lp313x_esrndx(enum lpc313x_clockid_e clkid); +EXTERN int lpc313x_esrndx(enum lpc313x_clockid_e clkid); /************************************************************************ - * Name: lp313x_bcrndx + * Name: lpc313x_bcrndx * * Description: * Only 5 of the 12 domains have an associated BCR register. This @@ -752,7 +752,7 @@ EXTERN int lp313x_esrndx(enum lpc313x_clockid_e clkid); * ************************************************************************/ -EXTERN int lp313x_bcrndx(enum lpc313x_domainid_e dmnid); +EXTERN int lpc313x_bcrndx(enum lpc313x_domainid_e dmnid); /************************************************************************ * Name: lpc313x_fdcndx diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_clkinit.c b/nuttx/arch/arm/src/lpc313x/lpc313x_clkinit.c index 779fc3a05..81bf3fb0f 100755 --- a/nuttx/arch/arm/src/lpc313x/lpc313x_clkinit.c +++ b/nuttx/arch/arm/src/lpc313x/lpc313x_clkinit.c @@ -1,7 +1,7 @@ /************************************************************************************ * arch/arm/src/lpc313x/lpc313x_clkinit.c * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -95,7 +95,7 @@ static void lpc313x_domaininit(struct lpc313x_domainconfig_s* dmn) uint32_t regval; int fdndx; int clkndx; - int bcrndx = lp313x_bcrndx(dmn->dmnid); + int bcrndx = lpc313x_bcrndx(dmn->dmnid); int esrndx; if (bcrndx != BCRNDX_INVALID) @@ -126,7 +126,7 @@ static void lpc313x_domaininit(struct lpc313x_domainconfig_s* dmn) { /* Does this clock have an ESR register? */ - esrndx = lp313x_esrndx((enum lpc313x_clockid_e)(clkndx + dmn->clk1)); + esrndx = lpc313x_esrndx((enum lpc313x_clockid_e)(clkndx + dmn->clk1)); if (esrndx != ESRNDX_INVALID) { /* Yes.. Check if this clock belongs to this sub-domain */ diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_esrndx.c b/nuttx/arch/arm/src/lpc313x/lpc313x_esrndx.c index 040edd51c..3fa300cfe 100755 --- a/nuttx/arch/arm/src/lpc313x/lpc313x_esrndx.c +++ b/nuttx/arch/arm/src/lpc313x/lpc313x_esrndx.c @@ -1,7 +1,7 @@ /************************************************************************ * arch/arm/src/lpc313x/lpc313x_esrndx.c * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * References: @@ -64,7 +64,7 @@ ************************************************************************/ /************************************************************************ - * Name: lp313x_esrndx + * Name: lpc313x_esrndx * * Description: * Given a clock ID, return the index of the corresponding ESR @@ -83,7 +83,7 @@ * ************************************************************************/ -int lp313x_esrndx(enum lpc313x_clockid_e clkid) +int lpc313x_esrndx(enum lpc313x_clockid_e clkid) { int esrndx = (int)clkid; diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c b/nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c index dc66405d5..bd8824a0c 100755 --- a/nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c +++ b/nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c @@ -104,7 +104,7 @@ int lpc313x_fdcndx(enum lpc313x_clockid_e clkid, enum lpc313x_domainid_e dmnid) /* Check if there is an ESR register associate with this clock ID */ - esrndx = lp313x_esrndx(clkid); + esrndx = lpc313x_esrndx(clkid); if (esrndx != ESRNDX_INVALID) { /* Read the clock's ESR to get the fractional divider */ diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_resetclks.c b/nuttx/arch/arm/src/lpc313x/lpc313x_resetclks.c index 382e2da09..7f349c2f7 100755 --- a/nuttx/arch/arm/src/lpc313x/lpc313x_resetclks.c +++ b/nuttx/arch/arm/src/lpc313x/lpc313x_resetclks.c @@ -91,7 +91,7 @@ void lpc313x_resetclks(void) /* Check if the domain has a BCR */ - bcrndx = lp313x_bcrndx((enum lpc313x_domainid_e)i); + bcrndx = lpc313x_bcrndx((enum lpc313x_domainid_e)i); if (bcrndx != BCRNDX_INVALID) { /* Yes.. disable all BCRs */ @@ -106,7 +106,7 @@ void lpc313x_resetclks(void) { /* Check if this clock has an ESR register */ - esrndx = lp313x_esrndx((enum lpc313x_clockid_e)i); + esrndx = lpc313x_esrndx((enum lpc313x_clockid_e)i); if (esrndx != ESRNDX_INVALID) { /* Yes.. Clear the clocks ESR to deselect fractional divider */ diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_setfdiv.c b/nuttx/arch/arm/src/lpc313x/lpc313x_setfdiv.c index 87ab5e377..5b0fdf904 100755 --- a/nuttx/arch/arm/src/lpc313x/lpc313x_setfdiv.c +++ b/nuttx/arch/arm/src/lpc313x/lpc313x_setfdiv.c @@ -106,7 +106,7 @@ void lpc313x_setfdiv(enum lpc313x_domainid_e dmnid, * have a BCR? */ - bcrndx = lp313x_bcrndx(dmnid); + bcrndx = lpc313x_bcrndx(dmnid); if (bcrndx != BCRNDX_INVALID) { |