summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-15 16:09:29 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-15 16:09:29 +0000
commit597f62d785b35fc5cb08a93a6eadf2b000cbc5ef (patch)
treedcb8e2541496d26770510c941b655017228da1da /vidix
parenta85094a239099ba10ef5812963e7bcb9e53401f6 (diff)
downloadmpv-597f62d785b35fc5cb08a93a6eadf2b000cbc5ef.tar.bz2
mpv-597f62d785b35fc5cb08a93a6eadf2b000cbc5ef.tar.xz
bad prototype for driver init function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23002 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/pm2_vid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vidix/pm2_vid.c b/vidix/pm2_vid.c
index d09962751f..a5bab54a18 100644
--- a/vidix/pm2_vid.c
+++ b/vidix/pm2_vid.c
@@ -133,7 +133,7 @@ static int pm2_probe(int verbose, int force __attribute__ ((unused)))
printf("[pm2] " #reg " (%x) = %#lx (%li)\n", reg, _foo, _foo); \
}
-static int pm2_init(const char *args __attribute__ ((unused)))
+static int pm2_init(void)
{
char *vm;
pm2_reg_base = map_phys_mem(pci_info.base0, 0x10000);