Add support for 3.10 kernel and Amlogic platform