X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Flinux%2Fgameport.h;h=afad95272841827445d8258043351ba0d23fcf4c;hb=41ab4396e19fba338baf28044d3e48385744b930;hp=2cdba0c2395707184544ee755e9a5f9ddefbe9a1;hpb=1323523f505606cfd24af6122369afddefc3b09d;p=karo-tx-linux.git diff --git a/include/linux/gameport.h b/include/linux/gameport.h index 2cdba0c23957..afad95272841 100644 --- a/include/linux/gameport.h +++ b/include/linux/gameport.h @@ -105,7 +105,7 @@ static inline void gameport_set_phys(struct gameport *gameport, static inline struct gameport *gameport_allocate_port(void) { - struct gameport *gameport = kcalloc(1, sizeof(struct gameport), GFP_KERNEL); + struct gameport *gameport = kzalloc(sizeof(struct gameport), GFP_KERNEL); return gameport; }