Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f687ede authored by Bart Van Assche's avatar Bart Van Assche Committed by Jason Gunthorpe
Browse files

IB/mlx5: Declare devx_async_cmd_event_fops static



Avoid that sparse complains about a missing declaration.

Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Fixes: 6bf8f22a ("IB/mlx5: Introduce MLX5_IB_OBJECT_DEVX_ASYNC_CMD_FD")
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 0080aed4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1704,7 +1704,7 @@ static __poll_t devx_async_cmd_event_poll(struct file *filp,
	return pollflags;
}

const struct file_operations devx_async_cmd_event_fops = {
static const struct file_operations devx_async_cmd_event_fops = {
	.owner	 = THIS_MODULE,
	.read	 = devx_async_cmd_event_read,
	.poll    = devx_async_cmd_event_poll,