wok rev 7419
linmodem-slmodem: use .unlocked_ioctl since 2.6.36
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 28 13:05:10 2010 +0100 (2010-11-28) |
parents | 5d335118e140 |
children | 2c1a92af611b |
files | linmodem-slmodem/receipt |
line diff
1.1 --- a/linmodem-slmodem/receipt Sun Nov 28 12:56:09 2010 +0100 1.2 +++ b/linmodem-slmodem/receipt Sun Nov 28 13:05:10 2010 +0100 1.3 @@ -30,6 +30,7 @@ 1.4 grep -rl linux/$i * | xargs sed -i "s|linux/$i|generated/$i|" 1.5 done 1.6 sed -i 's|^obj-m := slamr.o slusb.o|obj-m := slamr.o|' drivers/Makefile 1.7 + sed -i 's/\.ioctl/.unlocked_ioctl/' drivers/amrmo_init.c 1.8 make KERNEL_DIR=$WOK/linux/linux-$KERNEL_VERSION SUPPORT_ALSA=1 DESTDIR=$PWD/_pkg drivers 1.9 } 1.10