Fix warnings in avalon driver.