summaryrefslogtreecommitdiff
path: root/linux/src
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-08-30 03:09:27 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-30 22:50:53 +0200
commit2f048b588ac972347a7acaf65d0c91680c4e1c27 (patch)
tree056f7f59b4d8eed1a7f3268de6fc157d70099643 /linux/src
parentfb5d2aff2401841c5f6631e1371c33a3177bcd95 (diff)
Move Linux module macros to their original header
* linux/pcmcia-cs/glue/wireless_glue.h (EXPORT_SYMBOL) (SET_MODULE_OWNER): Move to ... * linux/src/include/linux/module.h [!MODULE]: ... here.
Diffstat (limited to 'linux/src')
-rw-r--r--linux/src/include/linux/module.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/src/include/linux/module.h b/linux/src/include/linux/module.h
index bc364f7..acc2540 100644
--- a/linux/src/include/linux/module.h
+++ b/linux/src/include/linux/module.h
@@ -101,9 +101,12 @@ int Using_Versions; /* gcc will handle this global (used as a flag) correctly */
#else
+#define EXPORT_SYMBOL(sym)
+
#define MOD_INC_USE_COUNT do { } while (0)
#define MOD_DEC_USE_COUNT do { } while (0)
#define MOD_IN_USE 1
+#define SET_MODULE_OWNER(dev) do{ } while(0)
#endif