Fix deblobbing of RT2860 and RT3090.
authorlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Wed, 10 Feb 2010 07:06:00 +0000 (07:06 +0000)
committerlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Wed, 10 Feb 2010 07:06:00 +0000 (07:06 +0000)
Adjust indentation of VT6656.

git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@5989 559672b5-ba27-0410-b829-e8f1faed8b1b

deblob-2.6.32

index fe709058e15f0a4a8bb6ca65ab8d6fe9a2bc21e3..335a7db603548121476fcb40c0f2a0289ddae5f7 100755 (executable)
@@ -45,7 +45,7 @@
 
 # For each kver release, start extra with an empty string, then count
 # from 1 if changes are needed that require rebuilding the tarball.
-kver=2.6.32 extra=
+kver=2.6.32 extra=++
 
 case $1 in
 --force)
@@ -1362,14 +1362,14 @@ clean_file drivers/staging/rt2860/common/firmware.h
 clean_blob drivers/staging/rt2860/rt_linux.h
 clean_sed '
 /^NDIS_STATUS NICLoadFirmware(/,/^}$/{
-  s/^\(        *\)pFirmwareImage = .*FirmwareImage.*;/\1printk("%s: missing Free firmware\\n", __func__);\n\1return NDIS_STATUS_FAILURE;\n&/
+  s/^\(        *\)pFirmwareImage = .*FirmwareImage.*;/\1return printk("%s: missing Free firmware\\n", __func__),\n\1   NDIS_STATUS_FAILURE;\n&/
 }' drivers/staging/rt2860/common/rtmp_init.c 'report missing Free firmware'
 clean_blob drivers/staging/rt2860/common/rtmp_init.c
 clean_sed '
 /^INT[ ]set_eFuseLoadFromBin_Proc(/,/^}$/{
   /src = kmalloc/i\
        printk("%s: missing Free firmware\\n", __func__);\
-       return FALSE;   
+       return FALSE;
 }' drivers/staging/rt2860/common/eeprom.c 'report missing Free firmware'
 clean_blob drivers/staging/rt2860/common/eeprom.c
 clean_kconfig drivers/staging/rt2860/Kconfig RT2860
@@ -1391,7 +1391,7 @@ clean_blob drivers/staging/rt3090/rt_ate.h
 clean_blob drivers/staging/rt3090/rt_ate.c
 clean_sed '
 /^NDIS_STATUS RtmpAsicLoadFirmware(/,/^}$/{
-  s/^\(        *\)pFirmwareImage = .*FirmwareImage.*;/\1printk("%s: missing Free firmware\\n", __func__);\n\1return NDIS_STATUS_FAILURE;\n&/
+  s/^\(        *\)pFirmwareImage = .*FirmwareImage.*;/\1return printk("%s: missing Free firmware\\n", __func__),\n\1   NDIS_STATUS_FAILURE;\n&/
 }' drivers/staging/rt3090/common/rtmp_mcu.c 'report missing Free firmware'
 clean_blob drivers/staging/rt3090/common/rtmp_mcu.c
 clean_kconfig drivers/staging/rt3090/Kconfig RT3090
@@ -1414,10 +1414,10 @@ announce VT6656 - "VIA Technologies VT6656 support"
 clean_sed '
 /^FIRMWAREbDownload($/,/^}$/ {
   /PBYTE.*pBuffer/ i\
-       PBYTE abyFirmware[1] = 0;
+    PBYTE abyFirmware[1] = { 0 };
   /-->Download firmware/ i\
-       printk("vt6656: missing Free firmware\\n");\
-       return (FALSE);
+    printk("vt6656: missing Free firmware\\n");\
+    return (FALSE);
 }' drivers/staging/vt6656/firmware.c 'report missing Free firmware'
 clean_blob drivers/staging/vt6656/firmware.c
 clean_kconfig drivers/staging/vt6656/Kconfig 'VT6656'