diff options
author | Karicheri, Muralidharan <m-karicheri2@ti.com> | 2014-01-20 17:10:07 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-21 11:33:19 -0500 |
commit | 1674df60d17e0e72396c961d5390bb62b184ad95 (patch) | |
tree | 3d63514479cc6b38efcfebcb6e3869825640b816 | |
parent | 06109f498faeae023f30254ed145030458ef1c41 (diff) | |
download | u-boot-imx-1674df60d17e0e72396c961d5390bb62b184ad95.zip u-boot-imx-1674df60d17e0e72396c961d5390bb62b184ad95.tar.gz u-boot-imx-1674df60d17e0e72396c961d5390bb62b184ad95.tar.bz2 |
ubifs: fix checkpatch warning
Fix the following checkpatch warning:-
WARNING: externs should be avoided in .c files
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
-rw-r--r-- | common/cmd_ubifs.c | 9 | ||||
-rw-r--r-- | fs/ubifs/ubifs.h | 7 |
2 files changed, 7 insertions, 9 deletions
diff --git a/common/cmd_ubifs.c b/common/cmd_ubifs.c index d9af023..fdc8bfe 100644 --- a/common/cmd_ubifs.c +++ b/common/cmd_ubifs.c @@ -21,15 +21,6 @@ static int ubifs_initialized; static int ubifs_mounted; -extern struct super_block *ubifs_sb; - -/* Prototypes */ -int ubifs_init(void); -int ubifs_mount(char *vol_name); -void ubifs_umount(struct ubifs_info *c); -int ubifs_ls(char *dir_name); -int ubifs_load(char *filename, u32 addr, u32 size); - int do_ubifs_mount(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { char *vol_name; diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 633631e..2213201 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -2137,6 +2137,13 @@ void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, int ubifs_decompress(const void *buf, int len, void *out, int *out_len, int compr_type); +/* these are used in cmd_ubifs.c */ +int ubifs_init(void); +int ubifs_mount(char *vol_name); +void ubifs_umount(struct ubifs_info *c); +int ubifs_ls(char *dir_name); +int ubifs_load(char *filename, u32 addr, u32 size); + #include "debug.h" #include "misc.h" #include "key.h" |