]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - scripts/coccicheck
Merge remote-tracking branch 'mfd/for-mfd-next'
[karo-tx-linux.git] / scripts / coccicheck
index bbf901afb606bcbd8c01e09a2b5063f4ae522e76..b2d758188f2f404b22c8c691b87d0e43a0404f5d 100755 (executable)
@@ -30,7 +30,7 @@ FLAGS="$SPFLAGS --very-quiet"
 # spatch only allows include directories with the syntax "-I include"
 # while gcc also allows "-Iinclude" and "-include include"
 COCCIINCLUDE=${LINUXINCLUDE//-I/-I }
-COCCIINCLUDE=${COCCIINCLUDE//-include/-I}
+COCCIINCLUDE=${COCCIINCLUDE// -include/ --include}
 
 if [ "$C" = "1" -o "$C" = "2" ]; then
     ONLINE=1