From 3c5327e660bc840deb82030062c91e469528dd94 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 20 Sep 2012 03:22:17 +0800 Subject: switch all platform_bus device/driver registering to platform_driver/device_register now register_driver and register_device are for bus only usage. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- common/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/console.c') diff --git a/common/console.c b/common/console.c index 25a451c583..3dd964cf6f 100644 --- a/common/console.c +++ b/common/console.c @@ -141,7 +141,7 @@ int console_register(struct console_device *newcdev) strcpy(dev->name, "cs"); if (newcdev->dev) dev_add_child(newcdev->dev, dev); - register_device(dev); + platform_device_register(dev); if (newcdev->setbrg) { dev_add_param(dev, "baudrate", console_baudrate_set, NULL, 0); -- cgit v1.2.3