X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Ftty_io.c;h=59f472143f087d9486d62bd9f3842c2a9aee7eb6;hb=08e5338d119daeb3c7746fa80fa916b8d3d48e89;hp=3f48d88cffc046445202cdaece8c346cb272add7;hpb=6925bac120097b823fc990c143b9789c21cc60b5;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 3f48d88cffc..59f472143f0 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -2850,7 +2850,7 @@ struct device *tty_register_device(struct tty_driver *driver, unsigned index, else tty_line_name(driver, index, name); - return device_create_drvdata(tty_class, device, dev, NULL, name); + return device_create(tty_class, device, dev, NULL, name); } EXPORT_SYMBOL(tty_register_device);