Hi Junghak, On 07/31/2015 10:44 AM, Junghak Sung wrote: > Rename file name - from videobuf2-core.[ch] to videobuf2-v4l2.[ch] > This renaming patch should be accompanied by the modifications for all device > drivers that include this header file. It can be done with just running this > shell script. > > replace() > { > str1=$1 > str2=$2 > dir=$3 > for file in $(find $dir -name *.h -o -name *.c -o -name Makefile) > do > echo $file > sed "s/$str1/$str2/g" $file > $file.out > mv $file.out $file > done > } > replace "videobuf2-core" "videobuf2-v4l2" "include/media/" > replace "videobuf2-core" "videobuf2-v4l2" "drivers/media/" > > Signed-off-by: Junghak Sung <jh1009.sung@xxxxxxxxxxx> > Signed-off-by: Geunyoung Kim <nenggun.kim@xxxxxxxxxxx> > Acked-by: Seung-Woo Kim <sw0312.kim@xxxxxxxxxxx> > Acked-by: Inki Dae <inki.dae@xxxxxxxxxxx> Rather than moving videobuf2-core.c to videobuf2-v4l2.c I would recommend to just create a videobuf2-v4l2.h header that includes videobuf2-core.h and nothing else. So this patch will move all drivers over to include the new videobuf2-v4l2.h header, leaving everything else unchanged. Then in patch 3 you can move code from videobuf2-core.c/h to videobuf2-v4l2.c/h. This will make patch 3 easier to read for me since I can clearly see in the diff what has been moved from -core.c/h to -v4l2.c/h. Right now patch 3 shows what moved from -v4l2.c/h to -core.c/h, which is the wrong way around. And makes patch 3 much larger than it needs to be since (unsurprisingly) most code from v4l2.c/h moves back to core.c/h. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html