changeset 22984:78ca12bbe854

bad prototype for driver init function
author ben
date Sun, 15 Apr 2007 16:09:29 +0000
parents 23182ac287a7
children 85ed7a6ac47e
files vidix/pm2_vid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/pm2_vid.c	Sun Apr 15 16:08:40 2007 +0000
+++ b/vidix/pm2_vid.c	Sun Apr 15 16:09:29 2007 +0000
@@ -133,7 +133,7 @@
     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);