Commit 546c9736 authored by Masanari Iida's avatar Masanari Iida Committed by Mauro Carvalho Chehab

[media] [trivial] frontends: Fix typo in tda1004x.c

Correct spelling "alocate" to "allocate" in
drivers/media/dvb/frontends/tda1004x.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f51f86fd
...@@ -1272,7 +1272,7 @@ struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config, ...@@ -1272,7 +1272,7 @@ struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config,
/* allocate memory for the internal state */ /* allocate memory for the internal state */
state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL); state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
if (!state) { 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; return NULL;
} }
...@@ -1342,7 +1342,7 @@ struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config, ...@@ -1342,7 +1342,7 @@ struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config,
/* allocate memory for the internal state */ /* allocate memory for the internal state */
state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL); state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
if (!state) { 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; return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment