diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-09-03 18:52:46 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-09-03 18:52:46 +0000 |
commit | 3fe6c88543738151dcf420903ad151aadf0f1b82 (patch) | |
tree | 6a08a60c9d88f61b0cb4da7556378c7fdbdd8338 /kernel/xpp | |
parent | 21dfaa664c24287fd101d913c0b1b713f23de980 (diff) |
Before creating a device, register the major number.
Otherwise we need to clean-up those devices in case of failure, and we
don't.
This fixes the case of accidentally loading zaptel after loading dahdi
(Already fixed in DAHDI).
Merged revisions 4509 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4511 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/xpp')
0 files changed, 0 insertions, 0 deletions