diff options
Diffstat (limited to 'include/linux/gameport.h')
-rw-r--r-- | include/linux/gameport.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
105 | 105 | ||
106 | static inline struct gameport *gameport_allocate_port(void) | 106 | static inline struct gameport *gameport_allocate_port(void) |
107 | { | 107 | { |
108 | struct gameport *gameport = kcalloc(1, sizeof(struct gameport), GFP_KERNEL); | 108 | struct gameport *gameport = kzalloc(sizeof(struct gameport), GFP_KERNEL); |
109 | 109 | ||
110 | return gameport; | 110 | return gameport; |
111 | } | 111 | } |