diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-02-11 17:09:41 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-02-16 11:16:08 -0500 |
commit | b672c1619bb9615aff3ebbe15c20083fd0f58f9b (patch) | |
tree | f53f556f1aefe4e1bc79d228188ed4a8b06ccef1 /include | |
parent | 658d6c583663ae4f37cb6a5e104b2bf864fbc497 (diff) | |
download | u-boot-b672c1619bb9615aff3ebbe15c20083fd0f58f9b.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iomux.h b/include/iomux.h index da7ff697d21..9c2d5796066 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); |