android: ram_console: use platform_device_register
platform_driver_probe can only be used when the platform device
is already present. In order to enable debugging crashes during
very early boot, the ram_console driver needs to be registered
as early as possible to allow the device to probe as soon as it
is registered at arch_initcall time. This requires the driver
to be registered before the device.
Replace platform_driver_probe with platform_driver_register,
and make the ram_console probe function __devinit.
Change-Id: Ie02cebef90b9c9dbb5b94e52e4f93e490bb88954
Signed-off-by: Colin Cross <ccross@android.com>
1 file changed