summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 3d7f5a154a..a64b63ae23 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -209,7 +209,7 @@ struct device *dev_find_class(unsigned int class, struct device *from)
* @param dev The device path to encode.
* @return Device path encoded into lower 3 bytes of dword.
*/
-u32 dev_path_encode(struct device *dev)
+u32 dev_path_encode(const struct device *dev)
{
u32 ret;