Rooney given two-year driving ban