Compiler error in drivers/video/cirrusfb.c: syntax error before ‘volatile’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I get the following compiler error for drivers/video/cirrusfb.c on
mips:

  CC      drivers/video/cirrusfb.o
In file included from include/video/vga.h:25,
                 from drivers/video/cirrusfb.c:70:
include/asm/vga.h:29: error: syntax error before ‘volatile’
include/asm/vga.h:34: error: syntax error before ‘volatile’
make[2]: *** [drivers/video/cirrusfb.o] Error 1

These lines define scr_writew() and scr_readw():

29:static inline void scr_writew(u16 val, volatile u16 *addr)
34:static inline u16 scr_readw(volatile const u16 *addr)

Note that some other arches (powerpc, alpha) have the same
definitions in vga.h.

This is with 2.6.15.
-- 
Martin Michlmayr
http://www.cyrius.com/


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux