summaryrefslogtreecommitdiff
path: root/include/linux/kmod.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-09-04 21:12:36 -0700
committerPatrick Mochel <mochel@osdl.org>2003-09-04 21:12:36 -0700
commit110291f2d1d589e042d172c1b57777679abefe6d (patch)
treef558a06a925fcfc2fbcfcab45c8cde0eb76d9614 /include/linux/kmod.h
parentf1a6400876c588497a5477cd642ead33fcbc7e81 (diff)
parent863003968458edf00e2ebdad49f68040203d886d (diff)
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-power
Diffstat (limited to 'include/linux/kmod.h')
-rw-r--r--include/linux/kmod.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kmod.h b/include/linux/kmod.h
index 7fa02a737518..8412faeea0f7 100644
--- a/include/linux/kmod.h
+++ b/include/linux/kmod.h
@@ -29,7 +29,7 @@ extern int request_module(const char * name, ...) __attribute__ ((format (printf
static inline int request_module(const char * name, ...) { return -ENOSYS; }
#endif
-#define try_then_request_module(x, mod...) ((x) ?: request_module(mod), (x))
+#define try_then_request_module(x, mod...) ((x) ?: (request_module(mod), (x)))
extern int call_usermodehelper(char *path, char *argv[], char *envp[], int wait);
#ifdef CONFIG_HOTPLUG