X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fiomux.h;h=fcf0f9319e5670cbcb81f16a4d5736373b6a8b95;hb=aef8af6a3dbd95d77b35a23004b6256dc70fb78f;hp=257c1f761271d61ef4bb4910597823a2c2ab57ae;hpb=13d36ec849785453953d00220b2c7dc66644a3c2;p=u-boot diff --git a/include/iomux.h b/include/iomux.h index 257c1f7612..fcf0f9319e 100644 --- a/include/iomux.h +++ b/include/iomux.h @@ -24,7 +24,7 @@ #ifndef _IO_MUX_H #define _IO_MUX_H -#include +#include /* * Stuff required to support console multiplexing. @@ -34,7 +34,7 @@ * Pointers to devices used for each file type. Defined in console.c * but storage is allocated in iomux.c. */ -extern device_t **console_devices[MAX_FILES]; +extern struct stdio_dev **console_devices[MAX_FILES]; /* * The count of devices assigned to each FILE. Defined in console.c * and populated in iomux.c. @@ -43,6 +43,6 @@ extern int cd_count[MAX_FILES]; int iomux_doenv(const int, const char *); void iomux_printdevs(const int); -device_t *search_device(int, char *); +struct stdio_dev *search_device(int, const char *); #endif /* _IO_MUX_H */