diff options
author | Subrata Banik <subrata.banik@intel.com> | 2018-05-02 10:27:36 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-02 08:06:06 +0000 |
commit | 564547f2838599788d4b4873695394c9be61cf09 (patch) | |
tree | b06a25394348746299c158eb55ecb18080449502 /src/device/device_util.c | |
parent | 00877386eec0e55d102864197fc29117f1159cb9 (diff) | |
download | coreboot-564547f2838599788d4b4873695394c9be61cf09.tar.xz |
src/device: Fix discarded-qualifiers compilation issue
coreboot build is broken due to
CL: I6830a65bc9cea2907f4209bb97a53ccebcbf248d
This patch ensures to build coreboot successfully.
Change-Id: I4c9dfc9b19ce159ce1abcfbb287be4ce273cbaf1
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/25985
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/device/device_util.c')
-rw-r--r-- | src/device/device_util.c | 2 |
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; |