drivers: fix build with new register macro