summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/camera_sensor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h
index fed36bf2..bf83d531 100644
--- a/include/libcamera/internal/camera_sensor.h
+++ b/include/libcamera/internal/camera_sensor.h
@@ -61,6 +61,8 @@ public:
ControlList getControls(const std::vector<uint32_t> &ids);
int setControls(ControlList *ctrls);
+ V4L2Subdevice *device() { return subdev_.get(); }
+
const ControlList &properties() const { return properties_; }
int sensorInfo(CameraSensorInfo *info) const;