diff options
author | Shaun Ruffell <sruffell@digium.com> | 2012-03-21 19:12:06 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2012-03-21 19:12:06 +0000 |
commit | 457e7b264fa784bbf54ecc115a89e80d3f2a1e29 (patch) | |
tree | c6bda2ba853d914ab9f674c26b67bda9080f1dc4 /drivers | |
parent | 4b40ea123289c9f785f0cd16184a34b2237dff15 (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>
Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10561
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.6@10569 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions