Updated driver to substitute flag removed in kernel 3.7 with valid flags.