Remove requirement for ifndefs for avalon2 from the generic driver work function