summaryrefslogtreecommitdiff
path: root/common/iomux.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-12-21 15:30:03 +0300
committerTom Rini <trini@konsulko.com>2021-01-15 22:38:00 +0300
commit3232487daf7ca7c50ec7c964c66db56d591725a2 (patch)
treeebf33d859e2b339d09270706c3c66f517dd08127 /common/iomux.c
parente645b9bd8d07b87a59990fe0b542ce7bdc224b59 (diff)
downloadu-boot-3232487daf7ca7c50ec7c964c66db56d591725a2.tar.xz
console: rename search_device() to console_search_dev()
Rename search_device() to console_search_dev() since it's in console.h. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/iomux.c')
-rw-r--r--common/iomux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/iomux.c b/common/iomux.c
index 7cfd9f2e91..e1bd1b48cd 100644
--- a/common/iomux.c
+++ b/common/iomux.c
@@ -95,10 +95,10 @@ int iomux_doenv(const int console, const char *arg)
for (j = 0; j < i; j++) {
/*
* Check whether the device exists and is valid.
- * console_assign() also calls search_device(),
+ * console_assign() also calls console_search_dev(),
* but I need the pointer to the device.
*/
- dev = search_device(io_flag, start[j]);
+ dev = console_search_dev(io_flag, start[j]);
if (dev == NULL)
continue;
/*