From: Stefan Schweizer 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 --- drivers/isdn/capi/capi.c | 1 - 1 files changed, 1 deletion(-) diff -puN drivers/isdn/capi/capi.c~fix-capi-reload-by-unregistering-the-correct-major drivers/isdn/capi/capi.c --- 25/drivers/isdn/capi/capi.c~fix-capi-reload-by-unregistering-the-correct-major Mon May 8 12:52:30 2006 +++ 25-akpm/drivers/isdn/capi/capi.c Mon May 8 12:52:30 2006 @@ -1499,7 +1499,6 @@ static int __init capi_init(void) printk(KERN_ERR "capi20: unable to get major %d\n", capi_major); return major_ret; } - capi_major = major_ret; capi_class = class_create(THIS_MODULE, "capi"); if (IS_ERR(capi_class)) { unregister_chrdev(capi_major, "capi20"); _