projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81ff86a
)
ISDN: struct device - replace bus_id with dev_name(), dev_set_name()
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 6 Jan 2009 18:44:39 +0000
(10:44 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 6 Jan 2009 18:44:39 +0000
(10:44 -0800)
CC: Karsten Keil <kkeil@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/isdn/mISDN/dsp_pipeline.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/mISDN/dsp_pipeline.c
b/drivers/isdn/mISDN/dsp_pipeline.c
index 5ee6651b45b903c3e1931fe316956e1166ce5d40..83639be7f7add0a17df3400ae7a8070891ef6154 100644
(file)
--- 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",