make register_disk() static