diff options
author | Shaun Ruffell <sruffell@digium.com> | 2012-03-21 18:56:12 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2012-03-21 18:56:12 +0000 |
commit | fb0af55d455aa4800164f1237defce3faabaa06b (patch) | |
tree | 23a443c28fcfc4ee6a92983865e32165e6c393ac /drivers | |
parent | f9994d0f8f3033b5ff4bebe8968842b00061a5f0 (diff) |
dahdi: Update dev_set_name / dev_name for RHEL 5.6+.
This is needed because dev_name() is mapped to kobject_name() in a backport,
but the kobject name isn't set until after device_add(). The result would be
parentless devices would fail since dahdi would not think a name was set for
these devices.
For these systems, we'll set both the bus_id string and the underlying
kobject_name.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10561 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions