mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
stdio: Tidy up the coding style
Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
18c587d099
commit
4225f2f520
2 changed files with 25 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue