X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Fbsr.c;h=456f54db73e2aa0fa395ede67cad3b2b80a40feb;hb=03457cd455d042c9ee4cc47c1ed4532257980693;hp=b650b4e48e5042654c139ea0777befe7bbebab4a;hpb=1ff9f542e5f87c299226557ce5e67a402ed4b502;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index b650b4e48e5..456f54db73e 100644 --- a/drivers/char/bsr.c +++ b/drivers/char/bsr.c @@ -229,9 +229,8 @@ static int bsr_create_devs(struct device_node *bn) if (result) goto out_err; - cur->bsr_device = device_create_drvdata(bsr_class, NULL, - cur->bsr_dev, - cur, cur->bsr_name); + cur->bsr_device = device_create(bsr_class, NULL, cur->bsr_dev, + cur, cur->bsr_name); if (!cur->bsr_device) { printk(KERN_ERR "device_create failed for %s\n", cur->bsr_name);