[Mplayer-cvslog] CVS: main/drivers mga_vid.c,1.56,1.57
Roberto Togni CVS
syncmail at mplayerhq.hu
Sun Jul 4 21:00:21 CEST 2004
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main/drivers
In directory mail:/var2/tmp/cvs-serv17715
Modified Files:
mga_vid.c
Log Message:
Compilation fix for 2.4.x kernels
Suggested by Reimar Doeffinger
Index: mga_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/mga_vid.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- mga_vid.c 26 Jun 2004 14:03:06 -0000 1.56
+++ mga_vid.c 4 Jul 2004 19:00:19 -0000 1.57
@@ -1834,13 +1834,13 @@
iounmap(card->mmio_base);
if(card->param_buff)
kfree(card->param_buff);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#ifdef CONFIG_DEVFS_FS
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
devfs_remove("video/%s%d",MODULENAME, i);
-#endif
#else
if(card->dev_handle) devfs_unregister(card->dev_handle);
#endif
+#endif
kfree(card);
mga_cards[i]=NULL;
More information about the MPlayer-cvslog
mailing list