From: Stefan Schweizer Date: Mon, 15 May 2006 16:43:52 +0000 (-0700) Subject: [PATCH] Fix capi reload by unregistering the correct major X-Git-Tag: v2.6.17-rc5~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90d5ede5985f3b172cc3ccd89bf8c52a209088a5;p=pandora-kernel.git [PATCH] Fix capi reload by unregistering the correct major I am having the bug FATAL: Error inserting capi ([..]/capi.ko): Device or resource busy when I try to reload capi after loading it. in dmesg: capi20: unable to get major 68 Fix the issue which is caused by setting the major to zero when registering the chrdev succeeded. (akpm: this means that we can again not use `major=0' (dynamic major allocation) for this driver). Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed