kobject-example.c (5fd637e7a75fb2a4c0b62683c08dae959160fedf) | kobject-example.c (07afb6ace3bde4ffdce26befa6b2f38c5d708dd0) |
---|---|
1/* 2 * Sample kobject implementation 3 * 4 * Copyright (C) 2004-2007 Greg Kroah-Hartman <greg@kroah.com> 5 * Copyright (C) 2007 Novell Inc. 6 * 7 * Released under the GPL version 2 only. 8 * --- 128 unchanged lines hidden (view full) --- 137 138static void __exit example_exit(void) 139{ 140 kobject_put(example_kobj); 141} 142 143module_init(example_init); 144module_exit(example_exit); | 1/* 2 * Sample kobject implementation 3 * 4 * Copyright (C) 2004-2007 Greg Kroah-Hartman <greg@kroah.com> 5 * Copyright (C) 2007 Novell Inc. 6 * 7 * Released under the GPL version 2 only. 8 * --- 128 unchanged lines hidden (view full) --- 137 138static void __exit example_exit(void) 139{ 140 kobject_put(example_kobj); 141} 142 143module_init(example_init); 144module_exit(example_exit); |
145MODULE_LICENSE("GPL"); | 145MODULE_LICENSE("GPL v2"); |
146MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>"); | 146MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>"); |