Driver core: accept all valid action-strings in uevent-trigger
[safe/jmp/linux-2.6] / include / linux / eventfd.h
index 0d6ecc6..b489fc6 100644 (file)
@@ -19,7 +19,8 @@ int eventfd_signal(struct file *file, int n);
 #else /* CONFIG_EVENTFD */
 
 #define eventfd_fget(fd) ERR_PTR(-ENOSYS)
-#define eventfd_signal(f, n) 0
+static inline int eventfd_signal(struct file *file, int n)
+{ return 0; }
 
 #endif /* CONFIG_EVENTFD */