Fixed the problem with platform driver registration.