video: msm: fix funtions and solve linker errors