X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fstdio_dev.h;h=48871a6a22b81777a2b39c6864579d60da893172;hb=4225f2f520f2557fb671e1aa02f9ef8090491be5;hp=b61c0c6ceff10a04bd8995c87cbc4f3a1319bb81;hpb=18c587d0992858936600100bee033b73d03c2100;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/stdio_dev.h b/include/stdio_dev.h index b61c0c6..48871a6 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -84,6 +84,15 @@ int stdio_init(void); void stdio_print_current_devices(void); int stdio_deregister(const char *devname, int force); + +/** + * stdio_deregister_dev() - deregister the device "devname". + * + * @dev: Stdio device to deregister + * @force: true to force deregistration even if in use + * + * returns 0 on success, -EBUSY if device is assigned + */ int stdio_deregister_dev(struct stdio_dev *dev, int force); struct list_head *stdio_get_list(void); struct stdio_dev *stdio_get_by_name(const char *name);