# HG changeset patch # User Pascal Bellard # Date 1290962613 -3600 # Node ID 817ef09fb63f13f1294907bcea9829b304d1f33c # Parent e14a2085bbeeaf90dc14006b982bbe4dc833d482 linmodem-agrsm: fix for kernel 2.6.36 diff -r e14a2085bbee -r 817ef09fb63f linmodem-agrsm/receipt --- a/linmodem-agrsm/receipt Sun Nov 28 16:56:05 2010 +0100 +++ b/linmodem-agrsm/receipt Sun Nov 28 17:43:33 2010 +0100 @@ -19,6 +19,8 @@ KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` [ -d $WOK/linux/taz ] || tazwok cook linux cd $src + sed -i -e 's/\([^_]\)usb_buffer_free/\1usb_free_coherent/' \ + -e 's/\([^_]\)usb_buffer_alloc/\1usb_alloc_coherent/' agrsoftmodem.c make KERNEL_DIR=$WOK/linux/linux-$KERNEL_VERSION KRELEASE=$KERNEL_VERSION }