diff options
author | Ming Lei <ming.lei@canonical.com> | 2013-06-06 08:01:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 15:41:57 -0400 |
commit | 93232e46b209821cb66faf40def928e60615f86b (patch) | |
tree | 5a97b55191b17d7dc9463e15dee74f3fcbd88727 /include/linux/firmware.h | |
parent | 96b2c0fc8e74a615888e2bedfe55b439aa4695e1 (diff) |
firmware loader: don't export cache_firmware and uncache_firmware
Looks no driver has the explict requirement for the two exported
API, just don't export them anymore.
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/firmware.h')
-rw-r--r-- | include/linux/firmware.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/firmware.h b/include/linux/firmware.h index e4279fedb93a..e154c1005cd1 100644 --- a/include/linux/firmware.h +++ b/include/linux/firmware.h | |||
@@ -47,8 +47,6 @@ int request_firmware_nowait( | |||
47 | void (*cont)(const struct firmware *fw, void *context)); | 47 | void (*cont)(const struct firmware *fw, void *context)); |
48 | 48 | ||
49 | void release_firmware(const struct firmware *fw); | 49 | void release_firmware(const struct firmware *fw); |
50 | int cache_firmware(const char *name); | ||
51 | int uncache_firmware(const char *name); | ||
52 | #else | 50 | #else |
53 | static inline int request_firmware(const struct firmware **fw, | 51 | static inline int request_firmware(const struct firmware **fw, |
54 | const char *name, | 52 | const char *name, |
@@ -68,15 +66,6 @@ static inline void release_firmware(const struct firmware *fw) | |||
68 | { | 66 | { |
69 | } | 67 | } |
70 | 68 | ||
71 | static inline int cache_firmware(const char *name) | ||
72 | { | ||
73 | return -ENOENT; | ||
74 | } | ||
75 | |||
76 | static inline int uncache_firmware(const char *name) | ||
77 | { | ||
78 | return -EINVAL; | ||
79 | } | ||
80 | #endif | 69 | #endif |
81 | 70 | ||
82 | #endif | 71 | #endif |