summaryrefslogtreecommitdiff
path: root/src/libcamera/include/media_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/include/media_object.h')
-rw-r--r--src/libcamera/include/media_object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/include/media_object.h b/src/libcamera/include/media_object.h
index 950a3328..04b9a890 100644
--- a/src/libcamera/include/media_object.h
+++ b/src/libcamera/include/media_object.h
@@ -80,8 +80,8 @@ class MediaEntity : public MediaObject
{
public:
const std::string &name() const { return name_; }
- unsigned int major() const { return major_; }
- unsigned int minor() const { return minor_; }
+ unsigned int deviceMajor() const { return major_; }
+ unsigned int deviceMinor() const { return minor_; }
const std::vector<MediaPad *> &pads() const { return pads_; }