git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'gcl/next' into next
[sfrench/cifs-2.6.git]
/
samples
/
kobject
/
kobject-example.c
diff --git
a/samples/kobject/kobject-example.c
b/samples/kobject/kobject-example.c
index 08d0d3ff326383510f30baaa4db632e665da64b9..8d9b55a1202372a3d63494ac7babf4d752a8969e 100644
(file)
--- a/
samples/kobject/kobject-example.c
+++ b/
samples/kobject/kobject-example.c
@@
-101,7
+101,7
@@
static struct attribute_group attr_group = {
static struct kobject *example_kobj;
-static int example_init(void)
+static int
__init
example_init(void)
{
int retval;
@@
-126,7
+126,7
@@
static int example_init(void)
return retval;
}
-static void example_exit(void)
+static void
__exit
example_exit(void)
{
kobject_put(example_kobj);
}