video: msm: fix functions and solve linker errors