diff options
-rw-r--r-- | drivers/char/bsr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index 0654f0e6b320..12143854aeac 100644 --- a/drivers/char/bsr.c +++ b/drivers/char/bsr.c @@ -298,7 +298,7 @@ static int __init bsr_init(void) goto out_err; ret = class_register(&bsr_class); - if (err) + if (ret) goto out_err_1; ret = alloc_chrdev_region(&bsr_dev, 0, BSR_MAX_DEVS, "bsr"); |