aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/firmware_class.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-05-23 16:17:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-03 16:57:29 -0400
commitf494513ff1b3f6bee2df329d8bbe864febf05a27 (patch)
tree79daa34647e30b1b2d3a272c5a2cde4bde1c56eb /drivers/base/firmware_class.c
parentfe304143b0c3d43fbf13773bcd4a7989a1fb4e1c (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.c11
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}
1110EXPORT_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}
1124EXPORT_SYMBOL(release_firmware);
1123 1125
1124/* Async support */ 1126/* Async support */
1125struct firmware_work { 1127struct 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}
1205EXPORT_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}
1236EXPORT_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}
1267EXPORT_SYMBOL_GPL(uncache_firmware);
1263 1268
1264#ifdef CONFIG_PM_SLEEP 1269#ifdef CONFIG_PM_SLEEP
1265static ASYNC_DOMAIN_EXCLUSIVE(fw_cache_domain); 1270static ASYNC_DOMAIN_EXCLUSIVE(fw_cache_domain);
@@ -1566,9 +1571,3 @@ static void __exit firmware_class_exit(void)
1566 1571
1567fs_initcall(firmware_class_init); 1572fs_initcall(firmware_class_init);
1568module_exit(firmware_class_exit); 1573module_exit(firmware_class_exit);
1569
1570EXPORT_SYMBOL(release_firmware);
1571EXPORT_SYMBOL(request_firmware);
1572EXPORT_SYMBOL(request_firmware_nowait);
1573EXPORT_SYMBOL_GPL(cache_firmware);
1574EXPORT_SYMBOL_GPL(uncache_firmware);