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

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
...@@ -1704,7 +1704,7 @@ static __poll_t devx_async_cmd_event_poll(struct file *filp, ...@@ -1704,7 +1704,7 @@ static __poll_t devx_async_cmd_event_poll(struct file *filp,
return pollflags; return pollflags;
} }
const struct file_operations devx_async_cmd_event_fops = { static const struct file_operations devx_async_cmd_event_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.read = devx_async_cmd_event_read, .read = devx_async_cmd_event_read,
.poll = devx_async_cmd_event_poll, .poll = devx_async_cmd_event_poll,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment