projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare v2023.10
[platform/kernel/u-boot.git]
/
include
/
usb_mass_storage.h
diff --git
a/include/usb_mass_storage.h
b/include/usb_mass_storage.h
index
69b80cd
..
08ccc97
100644
(file)
--- a/
include/usb_mass_storage.h
+++ b/
include/usb_mass_storage.h
@@
-1,8
+1,7
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2011 Samsung Electrnoics
* Lukasz Majewski <l.majewski@samsung.com>
/*
* Copyright (C) 2011 Samsung Electrnoics
* Lukasz Majewski <l.majewski@samsung.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __USB_MASS_STORAGE_H__
*/
#ifndef __USB_MASS_STORAGE_H__
@@
-23,12
+22,10
@@
struct ums {
unsigned int start_sector;
unsigned int num_sectors;
const char *name;
unsigned int start_sector;
unsigned int num_sectors;
const char *name;
-
block_dev_desc_t *
block_dev;
+
struct blk_desc
block_dev;
};
};
-extern struct ums *ums;
-
-int fsg_init(struct ums *);
+int fsg_init(struct ums *ums_devs, int count, unsigned int controller_idx);
void fsg_cleanup(void);
int fsg_main_thread(void *);
int fsg_add(struct usb_configuration *c);
void fsg_cleanup(void);
int fsg_main_thread(void *);
int fsg_add(struct usb_configuration *c);