Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa7a32cb authored by Timur Tabi's avatar Timur Tabi Committed by Paul Mackerras
Browse files

[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: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 3688a0f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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. */
	/* check if the UCC port number is in range. */
	if ((uf_info->ucc_num < 0) || (uf_info->ucc_num > UCC_MAX_NUM - 1)) {
	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;
		return -EINVAL;
	}
	}


+1 −1
Original line number Original line Diff line number Diff line
@@ -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. */
	/* check if the UCC port number is in range. */
	if ((us_info->ucc_num < 0) || (us_info->ucc_num > UCC_MAX_NUM - 1)) {
	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;
		return -EINVAL;
	}
	}