diff options
-rw-r--r-- | init/devices.cpp | 3 | ||||
-rw-r--r-- | init/devices.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/init/devices.cpp b/init/devices.cpp index 405f92e17..39571ac65 100644 --- a/init/devices.cpp +++ b/init/devices.cpp @@ -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; diff --git a/init/devices.h b/init/devices.h index 26a064bac..3f2cde4c3 100644 --- a/init/devices.h +++ b/init/devices.h @@ -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 */ |