Message ID | 14ac4f8d-90bd-0ad7-eee8-fbb47c2cba5c@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/joystick/turbografx.c b/drivers/input/joystick/turbografx.c index 454d4c032292..472bc438927e 100644 --- a/drivers/input/joystick/turbografx.c +++ b/drivers/input/joystick/turbografx.c @@ -191,7 +191,7 @@ static void tgfx_attach(struct parport *pp) return; } - tgfx = kzalloc(sizeof(struct tgfx), GFP_KERNEL); + tgfx = kzalloc(sizeof(*tgfx), GFP_KERNEL); if (!tgfx) goto err_unreg_pardev;