media: videobuf2: fix up for "media: annotate ->poll() instances"
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
68c5735eaa
commit
b46dc8ae17
|
@ -421,7 +421,7 @@ int dvb_vb2_mmap(struct dvb_vb2_ctx *ctx, struct vm_area_struct *vma)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file,
|
__poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file,
|
||||||
poll_table *wait)
|
poll_table *wait)
|
||||||
{
|
{
|
||||||
dprintk(3, "[%s]\n", ctx->name);
|
dprintk(3, "[%s]\n", ctx->name);
|
||||||
|
|
|
@ -116,7 +116,7 @@ static inline int dvb_vb2_release(struct dvb_vb2_ctx *ctx)
|
||||||
#define dvb_vb2_is_streaming(ctx) (0)
|
#define dvb_vb2_is_streaming(ctx) (0)
|
||||||
#define dvb_vb2_fill_buffer(ctx, file, wait) (0)
|
#define dvb_vb2_fill_buffer(ctx, file, wait) (0)
|
||||||
|
|
||||||
static inline unsigned int dvb_vb2_poll(struct dvb_vb2_ctx *ctx,
|
static inline __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx,
|
||||||
struct file *file,
|
struct file *file,
|
||||||
poll_table *wait)
|
poll_table *wait)
|
||||||
{
|
{
|
||||||
|
@ -169,7 +169,7 @@ int dvb_vb2_fill_buffer(struct dvb_vb2_ctx *ctx,
|
||||||
*
|
*
|
||||||
* Implements poll syscall() logic.
|
* Implements poll syscall() logic.
|
||||||
*/
|
*/
|
||||||
unsigned int dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file,
|
__poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file,
|
||||||
poll_table *wait);
|
poll_table *wait);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue