[POWERPC] Fix spelling errors in ucc_fast.c and ucc_slow.c

In ucc_fast.c and ucc_slow.c, "illegal" is twice spelled "illagal".

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Timur Tabi 2006-10-18 17:27:32 -05:00 committed by Paul Mackerras
parent 3688a0f484
commit aa7a32cbda
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ int ucc_fast_init(struct ucc_fast_info * uf_info, struct ucc_fast_private ** ucc
/* check if the UCC port number is in range. */
if ((uf_info->ucc_num < 0) || (uf_info->ucc_num > UCC_MAX_NUM - 1)) {
uccf_err("ucc_fast_init: Illagal UCC number!");
uccf_err("ucc_fast_init: Illegal UCC number!");
return -EINVAL;
}

View File

@ -152,7 +152,7 @@ int ucc_slow_init(struct ucc_slow_info * us_info, struct ucc_slow_private ** ucc
/* check if the UCC port number is in range. */
if ((us_info->ucc_num < 0) || (us_info->ucc_num > UCC_MAX_NUM - 1)) {
uccs_err("ucc_slow_init: Illagal UCC number!");
uccs_err("ucc_slow_init: Illegal UCC number!");
return -EINVAL;
}