diff options
Diffstat (limited to 'include/linux/rpmsg.h')
-rw-r--r-- | include/linux/rpmsg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/rpmsg.h b/include/linux/rpmsg.h index 10d6ae8bbb7d..ca07366c4c33 100644 --- a/include/linux/rpmsg.h +++ b/include/linux/rpmsg.h | |||
@@ -157,7 +157,7 @@ int rpmsg_trysendto(struct rpmsg_endpoint *ept, void *data, int len, u32 dst); | |||
157 | int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, | 157 | int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, |
158 | void *data, int len); | 158 | void *data, int len); |
159 | 159 | ||
160 | unsigned int rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp, | 160 | __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp, |
161 | poll_table *wait); | 161 | poll_table *wait); |
162 | 162 | ||
163 | #else | 163 | #else |
@@ -258,7 +258,7 @@ static inline int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, | |||
258 | return -ENXIO; | 258 | return -ENXIO; |
259 | } | 259 | } |
260 | 260 | ||
261 | static inline unsigned int rpmsg_poll(struct rpmsg_endpoint *ept, | 261 | static inline __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, |
262 | struct file *filp, poll_table *wait) | 262 | struct file *filp, poll_table *wait) |
263 | { | 263 | { |
264 | /* This shouldn't be possible */ | 264 | /* This shouldn't be possible */ |