summaryrefslogtreecommitdiff
path: root/linux/src/include/linux/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/src/include/linux/init.h')
-rw-r--r--linux/src/include/linux/init.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/linux/src/include/linux/init.h b/linux/src/include/linux/init.h
new file mode 100644
index 00000000..06da72d0
--- /dev/null
+++ b/linux/src/include/linux/init.h
@@ -0,0 +1,22 @@
+#ifndef _COMPAT_INIT_H
+#define _COMPAT_INIT_H
+
+#define __init
+#define __initdata
+#define __exit
+#define __exitdata
+#define __devinit
+#define __devinitdata
+#define __devexit
+#define __devexitdata
+
+#ifndef module_init
+#define module_init(x)
+#define module_exit(x)
+#endif
+
+#ifndef __devexit_p
+#define __devexit_p(x) (x)
+#endif
+
+#endif /* _COMPAT_INIT_H */