Move 'device.c' to more absolute layer.