patch-2.1.34 linux/drivers/sbus/char/weitek.c

Next file: linux/drivers/sbus/dvma.c
Previous file: linux/drivers/sbus/char/vfc_i2c.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/drivers/sbus/char/weitek.c linux/drivers/sbus/char/weitek.c
@@ -1,4 +1,4 @@
-/* $Id: weitek.c,v 1.7 1996/12/23 10:16:18 ecd Exp $
+/* $Id: weitek.c,v 1.8 1997/03/24 17:44:26 jj Exp $
  * weitek.c: Tadpole P9100/P9000 console driver
  *
  * Copyright (C) 1996 David Redman (djhr@tadpole.co.uk)
@@ -95,11 +95,11 @@
 }
 #endif
 
-__initfunc(void weitek_setup(fbinfo_t *fb, int slot, uint addr, int io))
+__initfunc(void weitek_setup(fbinfo_t *fb, int slot, unsigned long addr, int io))
 {
 	extern struct screen_info screen_info;
 	
-	printk ("weitek%d at 0x%8.8x\n", slot, addr);
+	printk ("weitek%d at 0x%8.8x\n", slot, (uint)addr);
 	
 	/* Fill in parameters we left out */
 	fb->type.fb_type	= FBTYPE_NOTSUN1;
@@ -114,4 +114,3 @@
 	    prom_printf ("Missing mapping routine and no address found\n");
 	}
 }
-

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov