OSDN Git Service

[media] [trivial] frontends: Fix typo in tda1004x.c
authorMasanari Iida <standby24x7@gmail.com>
Fri, 3 Feb 2012 12:56:59 +0000 (09:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Feb 2012 19:13:22 +0000 (17:13 -0200)
Correct spelling "alocate" to "allocate" in
drivers/media/dvb/frontends/tda1004x.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/tda1004x.c

index ae6f22a..35d72b4 100644 (file)
@@ -1272,7 +1272,7 @@ struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config,
        /* allocate memory for the internal state */
        state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
        if (!state) {
-               printk(KERN_ERR "Can't alocate memory for tda10045 state\n");
+               printk(KERN_ERR "Can't allocate memory for tda10045 state\n");
                return NULL;
        }
 
@@ -1342,7 +1342,7 @@ struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config,
        /* allocate memory for the internal state */
        state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
        if (!state) {
-               printk(KERN_ERR "Can't alocate memory for tda10046 state\n");
+               printk(KERN_ERR "Can't allocate memory for tda10046 state\n");
                return NULL;
        }