Fix the compile issue for 3.13 kernels

Change-Id: I6101a469343c202b976c9e31ed7a1f5c8acb80fb
rebased and resubmitted
rebased and resubmitted