Adapt RIL to ST-Ericsson