patch-2.4.25 linux-2.4.25/include/asm-m68k/mac_via.h

Next file: linux-2.4.25/include/asm-m68k/mmu_context.h
Previous file: linux-2.4.25/include/asm-m68k/mac_psc.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-m68k/mac_via.h linux-2.4.25/include/asm-m68k/mac_via.h
@@ -255,7 +255,8 @@
 extern int rbv_present,via_alt_mapping;
 extern __u8 rbv_clear;
 
-extern __inline__ int rbv_set_video_bpp(int bpp) {
+static inline int rbv_set_video_bpp(int bpp)
+{
 	char val = (bpp==1)?0:(bpp==2)?1:(bpp==4)?2:(bpp==8)?3:-1;
 	if (!rbv_present || val<0) return -1;
 	via2[rMonP] = (via2[rMonP] & ~RBV_DEPTH) | val;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)