Revision 27385085f19a9bc9b147905554e6e2509fdaceb2 authored by Jim Cromie on 10 July 2006, 11:45:36 UTC, committed by Linus Torvalds on 10 July 2006, 20:24:26 UTC
Fix module-init-func by repairing usage of platform_device_del/put in module-exit-func. IOW, it imitates Ingo's 'mishaps' patch, which fixed the module-init-func's undo handling. Also fixes lack of release_region to undo the earlier registration. Also starts to 'use a cdev' which was originally intended (its present in scx200_gpio). Code compiles and runs, exhibits a lesser error than previously. (re-register-chrdev fails) Since I had to add "include <linux/cdev.h>", I went ahead and made 2 tweaks that fell into diff-context-window: - remove include <linux/config.h> everyone's doing it - copyright updates - current date is 'wrong' Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 4f19784
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 17.5 KB |
Makefile | -rw-r--r-- | 874 bytes |
calibrate.c | -rw-r--r-- | 4.7 KB |
do_mounts.c | -rw-r--r-- | 9.2 KB |
do_mounts.h | -rw-r--r-- | 1.4 KB |
do_mounts_initrd.c | -rw-r--r-- | 3.0 KB |
do_mounts_md.c | -rw-r--r-- | 7.4 KB |
do_mounts_rd.c | -rw-r--r-- | 10.0 KB |
initramfs.c | -rw-r--r-- | 11.4 KB |
main.c | -rw-r--r-- | 17.6 KB |
version.c | -rw-r--r-- | 778 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...