X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fstdio_dev.h;h=95d6246f59ee7be3d6a9ea2eca1066f7adcba5d0;hb=f643d9294f45487f22e8f33d6572530f17eff4e9;hp=268de8ea70058b7500bc4b75e07d5371aba653fb;hpb=9fb02491fe96991cbedc49c7ebe5cdd271d1b6a7;p=oweals%2Fu-boot.git diff --git a/include/stdio_dev.h b/include/stdio_dev.h index 268de8ea70..95d6246f59 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -23,7 +23,7 @@ struct stdio_dev { int flags; /* Device flags: input/output/system */ int ext; /* Supported extensions */ - char name[16]; /* Device name */ + char name[32]; /* Device name */ /* GENERAL functions */ @@ -103,8 +103,8 @@ int stdio_init(void); void stdio_print_current_devices(void); #ifdef CONFIG_SYS_STDIO_DEREGISTER -int stdio_deregister(const char *devname); -int stdio_deregister_dev(struct stdio_dev *dev); +int stdio_deregister(const char *devname, int force); +int stdio_deregister_dev(struct stdio_dev *dev, int force); #endif struct list_head* stdio_get_list(void); struct stdio_dev* stdio_get_by_name(const char* name);