IOMUX: Introduce iomux_replace_device()
Some console devices may appear or disappear at run time. In order to support such a hotplug mechanism introduce a new iomux_replace_device() helper to update the list of devices without altering environment. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
committed by
Tom Rini
parent
400797cad3
commit
694cd5618c
@@ -31,6 +31,7 @@ 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 *);
|
||||
int iomux_replace_device(const int, const char *, const char *);
|
||||
void iomux_printdevs(const int);
|
||||
|
||||
#endif /* _IO_MUX_H */
|
||||
|
||||
Reference in New Issue
Block a user