diff options
Diffstat (limited to 'samples/kobject/kobject-example.c')
-rw-r--r-- | samples/kobject/kobject-example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c index 08d0d3ff3263..8d9b55a12023 100644 --- a/samples/kobject/kobject-example.c +++ b/samples/kobject/kobject-example.c | |||
@@ -101,7 +101,7 @@ static struct attribute_group attr_group = { | |||
101 | 101 | ||
102 | static struct kobject *example_kobj; | 102 | static struct kobject *example_kobj; |
103 | 103 | ||
104 | static int example_init(void) | 104 | static int __init example_init(void) |
105 | { | 105 | { |
106 | int retval; | 106 | int retval; |
107 | 107 | ||
@@ -126,7 +126,7 @@ static int example_init(void) | |||
126 | return retval; | 126 | return retval; |
127 | } | 127 | } |
128 | 128 | ||
129 | static void example_exit(void) | 129 | static void __exit example_exit(void) |
130 | { | 130 | { |
131 | kobject_put(example_kobj); | 131 | kobject_put(example_kobj); |
132 | } | 132 | } |