[POWERPC] Fix spelling errors in ucc_fast.c and ucc_slow.c
authorTimur Tabi <timur@freescale.com>
Wed, 18 Oct 2006 22:27:32 +0000 (17:27 -0500)
committerPaul Mackerras <paulus@samba.org>
Mon, 23 Oct 2006 08:23:17 +0000 (18:23 +1000)
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>
arch/powerpc/sysdev/qe_lib/ucc_fast.c
arch/powerpc/sysdev/qe_lib/ucc_slow.c

index c2be7348fcbd81f1db943715147cd973b551367e..75fa3104a43aaeb4ac1bdde7cdd1a19045c2b22e 100644 (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;
        }
 
index 1fb88ef7cf0640ef8063e024d3a4603d79c609d5..a49da6b73ecf6c2d8fa0d23b71f872ca362c07b0 100644 (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;
        }