diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-05 13:11:16 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-18 10:39:14 +0100 |
commit | a1a20998aca365a5835d534c49fc3cd4de7246ec (patch) | |
tree | 5246335c750f81d157366a7a4207425bd7f011b3 /include/linux/media.h | |
parent | 89b495c054e5704bb68a1cbc876e575c91499b47 (diff) |
libcamera: media_object: Add a const version of dev()
Add a const version of the MediaObject::dev() method to be able to
retrieve a pointer to a const MediaDevice from a constant instance of
a MediaObject sub-class.
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include/linux/media.h')
0 files changed, 0 insertions, 0 deletions