Good day to everyone,
sorry for my English
i have a trouble with driver compiling. I'am using the code source from:
http://code.google.com/p/hp-touchpad...e=linux-2.6.35
of course my kernel version is diferent "3.2.0-23-generic", i know it from using "$cat /proc/sys/kernel/osrelease" in Konsole
MakeFile:
obj-m += DMAISA.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean
rm -f $(obj-m). *~
By compiling it's getting me error:
victor@victor-desktop:~/Workspace/DMAISA$ sudo make
[sudo] password for victor:
make -C /lib/modules/3.2.0-23-generic/build M=/home/victor/Workspace/DMAISA modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
CC [M] /home/victor/Workspace/DMAISA/DMAISA.o
/home/victor/Workspace/DMAISA/DMAISA.c:7:26:
fatal error: asm/mach/dma.h: No such file or directory
compilation terminated.
make[2]: *** [/home/victor/Workspace/DMAISA/DMAISA.o] Error 1
make[1]: *** [_module_/home/victor/Workspace/DMAISA] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
make: *** [all] Error 2
if anyone knows how to fix it, please reply, i didn't managed to find a solution on any other websites with similar questions.