Skip to content

Commit

Permalink
[media] [trivial] frontends: Fix typo in tda1004x.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masanari Iida authored and Mauro Carvalho Chehab committed Feb 14, 2012
1 parent f51f86f commit 546c973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/frontends/tda1004x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 546c973

Please sign in to comment.