Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4576
b: refs/heads/master
c: 3a7a882
h: refs/heads/master
v: v3
  • Loading branch information
Coywolf Qi Hunt authored and Thomas Gleixner committed Jul 4, 2005
1 parent e860233 commit a1cab14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9bc7b38731dd1cc1635ab12f8de48866f603b06e
refs/heads/master: 3a7a882420d378b59542a048075e40428c771a12
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/mtdchar.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* $Id: mtdchar.c,v 1.72 2005/06/30 00:23:24 tpoynor Exp $
* $Id: mtdchar.c,v 1.73 2005/07/04 17:36:41 gleixner Exp $
*
* Character-device access to raw MTD devices.
*
Expand Down Expand Up @@ -649,7 +649,7 @@ static int __init init_mtdchar(void)
if (IS_ERR(mtd_class)) {
printk(KERN_ERR "Error creating mtd class.\n");
unregister_chrdev(MTD_CHAR_MAJOR, "mtd");
return 1;
return PTR_ERR(mtd_class);
}

register_mtd_user(&notifier);
Expand Down

0 comments on commit a1cab14

Please sign in to comment.