vserver 1.9.3
[linux-2.6.git] / sound / pci / au88x0 / au88x0_game.c
index 6cc70af..d47bff1 100644 (file)
@@ -96,7 +96,7 @@ static int vortex_game_open(struct gameport *gameport, int mode)
 
 static int vortex_gameport_register(vortex_t * vortex)
 {
-       if ((vortex->gameport = snd_kcalloc(sizeof(struct gameport), GFP_KERNEL)) == NULL) {
+       if ((vortex->gameport = kcalloc(1, sizeof(struct gameport), GFP_KERNEL)) == NULL) {
                return -1;
        };