summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/ec100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/ec100.c')
-rw-r--r--drivers/media/dvb-frontends/ec100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/ec100.c b/drivers/media/dvb-frontends/ec100.c
index 2ad0a3c2f756..b7a3572f8a58 100644
--- a/drivers/media/dvb-frontends/ec100.c
+++ b/drivers/media/dvb-frontends/ec100.c
@@ -276,7 +276,7 @@ struct dvb_frontend *ec100_attach(const struct ec100_config *config,
u8 tmp;
/* allocate memory for the internal state */
- state = kzalloc(sizeof(struct ec100_state), GFP_KERNEL);
+ state = kzalloc_obj(struct ec100_state);
if (state == NULL)
goto error;