From: Kay Sievers Date: Tue, 6 Jan 2009 18:44:39 +0000 (-0800) Subject: ISDN: struct device - replace bus_id with dev_name(), dev_set_name() X-Git-Tag: v2.6.29-rc1~229^2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0162f3822c08a2d7021faa6fe93391e7df585856;p=linux-2.6-omap-h63xx.git ISDN: struct device - replace bus_id with dev_name(), dev_set_name() CC: Karsten Keil Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/isdn/mISDN/dsp_pipeline.c b/drivers/isdn/mISDN/dsp_pipeline.c index 5ee6651b45b..83639be7f7a 100644 --- a/drivers/isdn/mISDN/dsp_pipeline.c +++ b/drivers/isdn/mISDN/dsp_pipeline.c @@ -91,7 +91,7 @@ int mISDN_dsp_element_register(struct mISDN_dsp_element *elem) entry->dev.class = elements_class; dev_set_drvdata(&entry->dev, elem); - snprintf(entry->dev.bus_id, BUS_ID_SIZE, elem->name); + dev_set_name(&entry->dev, elem->name); ret = device_register(&entry->dev); if (ret) { printk(KERN_ERR "%s: failed to register %s\n",