]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/gameport.h
firmware: fix the request_firmware() dummy
[linux-2.6-omap-h63xx.git] / include / linux / gameport.h
index 2cdba0c2395707184544ee755e9a5f9ddefbe9a1..afad95272841827445d8258043351ba0d23fcf4c 100644 (file)
@@ -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;
 }