init: moving get_block_device_symlinks() to public API
This is required for init to get by-name symlinks in the first stage mount with AVB. Bug: 37552224 Test: first stage mount /vendor with vboot 2.0 (AVB) Change-Id: Ib067753f651ecea4d4d26215da9294f1c607d95e Merged-In: Ia0f290542eb1cffce5ae876dfedb453dde960253
This commit is contained in:
parent
a7172f41b8
commit
1fa0251930
2 changed files with 3 additions and 2 deletions
|
|
@ -526,8 +526,7 @@ err:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static char **get_block_device_symlinks(struct uevent *uevent)
|
||||
{
|
||||
char** get_block_device_symlinks(struct uevent* uevent) {
|
||||
const char *device;
|
||||
struct platform_node *pdev;
|
||||
const char *slash;
|
||||
|
|
|
|||
|
|
@ -55,4 +55,6 @@ extern int add_dev_perms(const char *name, const char *attr,
|
|||
unsigned short wildcard);
|
||||
int get_device_fd();
|
||||
|
||||
char** get_block_device_symlinks(struct uevent* uevent);
|
||||
|
||||
#endif /* _INIT_DEVICES_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue