summaryrefslogtreecommitdiff
path: root/linux/src/include
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-08-30 03:09:38 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-31 00:37:51 +0200
commit6cc4f7c68051431f309109c261667fcbec626fc1 (patch)
treea919bf4322967b5d2ad53f67fb146a94205b26b4 /linux/src/include
parent39121f37ee129391fe17394ffdbf894c37f2c729 (diff)
Move <linux/init.h> from linux/pcmcia-cs to linux/src
* linux/pcmcia-cs/include/linux/init.h: Move to ... * linux/src/include/linux/init.h: ... here.
Diffstat (limited to 'linux/src/include')
-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 0000000..06da72d
--- /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 */