hi..
Im getting the following errors, when i'm compiling the GLCD drivers for OMAPL138
root@vijay-Z460:/home/vijay/Desktop/test# make
make -C /lib/modules/2.6.32-26-generic/build M=/home/vijay/Desktop/test modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-26-generic'
CC [M] /home/vijay/Desktop/test/fbuffL138.o
/home/vijay/Desktop/test/fbuffL138.c:101:31: error: asm/mach/cputype.h: No such file or directory
/home/vijay/Desktop/test/fbuffL138.c:102:26: error: asm/mach/io.h: No such file or directory
/home/vijay/Desktop/test/fbuffL138.c:103:32: error: asm/mach/hardware.h: No such file or directory
/home/vijay/Desktop/test/fbuffL138.c: In function ‘lcdc_read’:
/home/vijay/Desktop/test/fbuffL138.c:176: warning: passing argument 1 of ‘__readl’ makes pointer from integer without a cast
/usr/src/linux-headers-2.6.32-26-generic/arch/x86/include/asm/io.h:26: note: expected ‘const volatile void *’ but argument is of type ‘resource_size_t’
/home/vijay/Desktop/test/fbuffL138.c: In function ‘lcdc_write’:
/home/vijay/Desktop/test/fbuffL138.c:181: warning: passing argument 2 of ‘__writel’ makes pointer from integer without a cast
/usr/src/linux-headers-2.6.32-26-generic/arch/x86/include/asm/io.h:34: note: expected ‘volatile void *’ but argument is of type ‘resource_size_t’
/home/vijay/Desktop/test/fbuffL138.c: In function ‘lcd_disable_raster’:
/home/vijay/Desktop/test/fbuffL138.c:276: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
/home/vijay/Desktop/test/fbuffL138.c:276: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
make[2]: *** [/home/vijay/Desktop/test/fbuffL138.o] Error 1
make[1]: *** [_module_/home/vijay/Desktop/test] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-26-generic'
make: *** [default] Error 2