summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/as102_fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb-frontends/as102_fe.c')
-rw-r--r--drivers/media/dvb-frontends/as102_fe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/as102_fe.c b/drivers/media/dvb-frontends/as102_fe.c
index 1fb4ab21d786..b1c84ee914f0 100644
--- a/drivers/media/dvb-frontends/as102_fe.c
+++ b/drivers/media/dvb-frontends/as102_fe.c
@@ -455,7 +455,7 @@ struct dvb_frontend *as102_attach(const char *name,
struct as102_state *state;
struct dvb_frontend *fe;
- state = kzalloc(sizeof(struct as102_state), GFP_KERNEL);
+ state = kzalloc(sizeof(*state), GFP_KERNEL);
if (!state)
return NULL;