wok-6.x rev 7427
linmodem-agrsm: fix for kernel 2.6.36
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 28 17:43:33 2010 +0100 (2010-11-28) |
parents | e14a2085bbee |
children | 1d279fc90686 |
files | linmodem-agrsm/receipt |
line diff
1.1 --- a/linmodem-agrsm/receipt Sun Nov 28 16:56:05 2010 +0100 1.2 +++ b/linmodem-agrsm/receipt Sun Nov 28 17:43:33 2010 +0100 1.3 @@ -19,6 +19,8 @@ 1.4 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.5 [ -d $WOK/linux/taz ] || tazwok cook linux 1.6 cd $src 1.7 + sed -i -e 's/\([^_]\)usb_buffer_free/\1usb_free_coherent/' \ 1.8 + -e 's/\([^_]\)usb_buffer_alloc/\1usb_alloc_coherent/' agrsoftmodem.c 1.9 make KERNEL_DIR=$WOK/linux/linux-$KERNEL_VERSION KRELEASE=$KERNEL_VERSION 1.10 1.11 }