summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_qbman/bman_low.h
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@freescale.com>2013-12-11 17:53:09 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-01-08 01:12:07 (GMT)
commit1f4dc2cbe8d8227c8cab88a28a111cf66c6d0920 (patch)
tree3df2a7fe30acf3970ee178a7c6c0e487b8d78938 /drivers/staging/fsl_qbman/bman_low.h
parent6e0d1b19fae72a064d7d7a0ad4146ec82086225e (diff)
downloadlinux-fsl-qoriq-1f4dc2cbe8d8227c8cab88a28a111cf66c6d0920.tar.xz
fsl_qbman: fix a few spelling errors
Fix some spelling errors reported by codespell. Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> Change-Id: I4c2f89d218389b0019ae4ff80206e05b94d715e4 Reviewed-on: http://git.am.freescale.net:8181/7707 Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/staging/fsl_qbman/bman_low.h')
-rw-r--r--drivers/staging/fsl_qbman/bman_low.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fsl_qbman/bman_low.h b/drivers/staging/fsl_qbman/bman_low.h
index 6f267d9..aea97ed 100644
--- a/drivers/staging/fsl_qbman/bman_low.h
+++ b/drivers/staging/fsl_qbman/bman_low.h
@@ -187,7 +187,7 @@ static inline void RCR_INC(struct bm_rcr *rcr)
static inline int bm_rcr_init(struct bm_portal *portal, enum bm_rcr_pmode pmode,
__maybe_unused enum bm_rcr_cmode cmode)
{
- /* This use of 'register', as well as all other occurances, is because
+ /* This use of 'register', as well as all other occurrences, is because
* it has been observed to generate much faster code with gcc than is
* otherwise the case. */
register struct bm_rcr *rcr = &portal->rcr;
@@ -505,7 +505,7 @@ static inline int bm_shutdown_pool(struct bm_portal *p, u32 bpid)
int aq_count = 0;
bool stop = false;
while (!stop) {
- /* Aquire buffers until empty */
+ /* Acquire buffers until empty */
bm_cmd = bm_mc_start(p);
bm_cmd->acquire.bpid = bpid;
bm_mc_commit(p, BM_MCC_VERB_CMD_ACQUIRE | 1);