Message ID | 1292844956-7853-3-git-send-email-laurent.pinchart@ideasonboard.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index b0316a7..b636444 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h @@ -466,8 +466,7 @@ static inline void v4l2_subdev_init(struct v4l2_subdev *sd, const struct v4l2_subdev_ops *ops) { INIT_LIST_HEAD(&sd->list); - /* ops->core MUST be set */ - BUG_ON(!ops || !ops->core); + BUG_ON(!ops); sd->ops = ops; sd->v4l2_dev = NULL; sd->flags = 0;