X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Finput%2Fgameport%2Fvortex.c;h=fa20a3376ee3a780f0c3e987e5e534f8102a4f3b;hb=eb643825dab24bf61fe40ea800c5be013315220d;hp=55d475d40d87811fd3699853c5475288a2b1e29a;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/drivers/input/gameport/vortex.c b/drivers/input/gameport/vortex.c index 55d475d40..fa20a3376 100644 --- a/drivers/input/gameport/vortex.c +++ b/drivers/input/gameport/vortex.c @@ -40,6 +40,7 @@ #include #include #include +#include #include MODULE_AUTHOR("Vojtech Pavlik "); @@ -93,7 +94,7 @@ static int vortex_open(struct gameport *gameport, int mode) switch (mode) { case GAMEPORT_MODE_COOKED: writeb(0x40, vortex->io + VORTEX_GCR); - wait_ms(VORTEX_DATA_WAIT); + msleep(VORTEX_DATA_WAIT); return 0; case GAMEPORT_MODE_RAW: writeb(0x00, vortex->io + VORTEX_GCR);