diff options
author | Daniel Mack <zonque@gmail.com> | 2013-05-23 16:17:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-03 16:57:29 -0400 |
commit | f494513ff1b3f6bee2df329d8bbe864febf05a27 (patch) | |
tree | 79daa34647e30b1b2d3a272c5a2cde4bde1c56eb /drivers/base/firmware_class.c | |
parent | fe304143b0c3d43fbf13773bcd4a7989a1fb4e1c (diff) |
firmware: move EXPORT_SYMBOL annotations
Move EXPORT_SYMBOL annotations so they follow immediately after the
closing function brace line.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/firmware_class.c')
-rw-r--r-- | drivers/base/firmware_class.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index e650c25360d1..e704bf84bdf3 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c | |||
@@ -1107,6 +1107,7 @@ request_firmware(const struct firmware **firmware_p, const char *name, | |||
1107 | { | 1107 | { |
1108 | return _request_firmware(firmware_p, name, device, true, false); | 1108 | return _request_firmware(firmware_p, name, device, true, false); |
1109 | } | 1109 | } |
1110 | EXPORT_SYMBOL(request_firmware); | ||
1110 | 1111 | ||
1111 | /** | 1112 | /** |
1112 | * release_firmware: - release the resource associated with a firmware image | 1113 | * release_firmware: - release the resource associated with a firmware image |
@@ -1120,6 +1121,7 @@ void release_firmware(const struct firmware *fw) | |||
1120 | kfree(fw); | 1121 | kfree(fw); |
1121 | } | 1122 | } |
1122 | } | 1123 | } |
1124 | EXPORT_SYMBOL(release_firmware); | ||
1123 | 1125 | ||
1124 | /* Async support */ | 1126 | /* Async support */ |
1125 | struct firmware_work { | 1127 | struct firmware_work { |
@@ -1200,6 +1202,7 @@ request_firmware_nowait( | |||
1200 | schedule_work(&fw_work->work); | 1202 | schedule_work(&fw_work->work); |
1201 | return 0; | 1203 | return 0; |
1202 | } | 1204 | } |
1205 | EXPORT_SYMBOL(request_firmware_nowait); | ||
1203 | 1206 | ||
1204 | /** | 1207 | /** |
1205 | * cache_firmware - cache one firmware image in kernel memory space | 1208 | * cache_firmware - cache one firmware image in kernel memory space |
@@ -1230,6 +1233,7 @@ int cache_firmware(const char *fw_name) | |||
1230 | 1233 | ||
1231 | return ret; | 1234 | return ret; |
1232 | } | 1235 | } |
1236 | EXPORT_SYMBOL_GPL(cache_firmware); | ||
1233 | 1237 | ||
1234 | /** | 1238 | /** |
1235 | * uncache_firmware - remove one cached firmware image | 1239 | * uncache_firmware - remove one cached firmware image |
@@ -1260,6 +1264,7 @@ int uncache_firmware(const char *fw_name) | |||
1260 | 1264 | ||
1261 | return -EINVAL; | 1265 | return -EINVAL; |
1262 | } | 1266 | } |
1267 | EXPORT_SYMBOL_GPL(uncache_firmware); | ||
1263 | 1268 | ||
1264 | #ifdef CONFIG_PM_SLEEP | 1269 | #ifdef CONFIG_PM_SLEEP |
1265 | static ASYNC_DOMAIN_EXCLUSIVE(fw_cache_domain); | 1270 | static ASYNC_DOMAIN_EXCLUSIVE(fw_cache_domain); |
@@ -1566,9 +1571,3 @@ static void __exit firmware_class_exit(void) | |||
1566 | 1571 | ||
1567 | fs_initcall(firmware_class_init); | 1572 | fs_initcall(firmware_class_init); |
1568 | module_exit(firmware_class_exit); | 1573 | module_exit(firmware_class_exit); |
1569 | |||
1570 | EXPORT_SYMBOL(release_firmware); | ||
1571 | EXPORT_SYMBOL(request_firmware); | ||
1572 | EXPORT_SYMBOL(request_firmware_nowait); | ||
1573 | EXPORT_SYMBOL_GPL(cache_firmware); | ||
1574 | EXPORT_SYMBOL_GPL(uncache_firmware); | ||