change set max cpu frequency
fix compilation error driver