diff options
Diffstat (limited to 'include/linux/uio_driver.h')
-rw-r--r-- | include/linux/uio_driver.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/uio_driver.h b/include/linux/uio_driver.h index fd99ff9298c6..73898189a97c 100644 --- a/include/linux/uio_driver.h +++ b/include/linux/uio_driver.h | |||
@@ -101,11 +101,11 @@ extern int __must_check | |||
101 | __uio_register_device(struct module *owner, | 101 | __uio_register_device(struct module *owner, |
102 | struct device *parent, | 102 | struct device *parent, |
103 | struct uio_info *info); | 103 | struct uio_info *info); |
104 | static inline int __must_check | 104 | |
105 | uio_register_device(struct device *parent, struct uio_info *info) | 105 | /* use a define to avoid include chaining to get THIS_MODULE */ |
106 | { | 106 | #define uio_register_device(parent, info) \ |
107 | return __uio_register_device(THIS_MODULE, parent, info); | 107 | __uio_register_device(THIS_MODULE, parent, info) |
108 | } | 108 | |
109 | extern void uio_unregister_device(struct uio_info *info); | 109 | extern void uio_unregister_device(struct uio_info *info); |
110 | extern void uio_event_notify(struct uio_info *info); | 110 | extern void uio_event_notify(struct uio_info *info); |
111 | 111 | ||