aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-02-11 17:09:41 +0200
committerTom Rini <trini@konsulko.com>2021-02-16 11:16:08 -0500
commitb672c1619bb9615aff3ebbe15c20083fd0f58f9b (patch)
treef53f556f1aefe4e1bc79d228188ed4a8b06ccef1 /include
parent658d6c583663ae4f37cb6a5e104b2bf864fbc497 (diff)
downloadu-boot-b672c1619bb9615aff3ebbe15c20083fd0f58f9b.zip
u-boot-b672c1619bb9615aff3ebbe15c20083fd0f58f9b.tar.gz
u-boot-b672c1619bb9615aff3ebbe15c20083fd0f58f9b.tar.bz2
IOMUX: Split out iomux_match_device() helper
Deduplicate the code used in a few places by splitting out a common helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/iomux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iomux.h b/include/iomux.h
index da7ff69..9c2d579 100644
--- a/include/iomux.h
+++ b/include/iomux.h
@@ -24,6 +24,7 @@ extern struct stdio_dev **console_devices[MAX_FILES];
*/
extern int cd_count[MAX_FILES];
+int iomux_match_device(struct stdio_dev **, const int, struct stdio_dev *);
int iomux_doenv(const int, const char *);
void iomux_printdevs(const int);