aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN/dsp_pipeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/mISDN/dsp_pipeline.c')
-rw-r--r--drivers/isdn/mISDN/dsp_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp_pipeline.c b/drivers/isdn/mISDN/dsp_pipeline.c
index 5ee6651b45b9..83639be7f7ad 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)
91 91
92 entry->dev.class = elements_class; 92 entry->dev.class = elements_class;
93 dev_set_drvdata(&entry->dev, elem); 93 dev_set_drvdata(&entry->dev, elem);
94 snprintf(entry->dev.bus_id, BUS_ID_SIZE, elem->name); 94 dev_set_name(&entry->dev, elem->name);
95 ret = device_register(&entry->dev); 95 ret = device_register(&entry->dev);
96 if (ret) { 96 if (ret) {
97 printk(KERN_ERR "%s: failed to register %s\n", 97 printk(KERN_ERR "%s: failed to register %s\n",