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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/include/media_object.h b/src/libcamera/include/media_object.h
index fad55a06..64095bec 100644
--- a/src/libcamera/include/media_object.h
+++ b/src/libcamera/include/media_object.h
@@ -85,7 +85,7 @@ class MediaEntity : public MediaObject
public:
const std::string &name() const { return name_; }
unsigned int function() const { return function_; }
- const std::string &devnode() const { return devnode_; }
+ const std::string &deviceNode() const { return deviceNode_; }
unsigned int deviceMajor() const { return major_; }
unsigned int deviceMinor() const { return minor_; }
@@ -94,7 +94,7 @@ public:
const MediaPad *getPadByIndex(unsigned int index) const;
const MediaPad *getPadById(unsigned int id) const;
- int setDeviceNode(const std::string &devnode);
+ int setDeviceNode(const std::string &deviceNode);
private:
friend class MediaDevice;
@@ -106,7 +106,7 @@ private:
std::string name_;
unsigned int function_;
- std::string devnode_;
+ std::string deviceNode_;
unsigned int major_;
unsigned int minor_;