diff options
author | Pali Rohár <pali@kernel.org> | 2023-01-11 00:47:17 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2023-03-01 08:39:17 +0300 |
commit | 40e3204c62dcf3d0411e67dc3d4863300f8e3fa5 (patch) | |
tree | 0fbe40eac078919e36399bc4b3b549ca1f1d0d49 /cmd | |
parent | e7813da07a21001fe13a1adf838bff43330091ca (diff) | |
download | u-boot-40e3204c62dcf3d0411e67dc3d4863300f8e3fa5.tar.xz |
cmd: mvebu/bubt: Mark all local symbols as static
There is no need to export these local functions and structures.
Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mvebu/bubt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index 72ed87b89e..820d342ae1 100644 --- a/cmd/mvebu/bubt.c +++ b/cmd/mvebu/bubt.c @@ -687,7 +687,7 @@ enum bubt_devices { BUBT_MAX_DEV }; -struct bubt_dev bubt_devs[BUBT_MAX_DEV] = { +static struct bubt_dev bubt_devs[BUBT_MAX_DEV] = { {"tftp", tftp_read_file, NULL, is_tftp_active}, {"usb", usb_read_file, NULL, is_usb_active}, {"mmc", mmc_read_file, mmc_burn_image, is_mmc_active}, @@ -707,7 +707,7 @@ static int bubt_write_file(struct bubt_dev *dst, size_t image_size) } #if defined(CONFIG_ARMADA_8K) -u32 do_checksum32(u32 *start, int32_t len) +static u32 do_checksum32(u32 *start, int32_t len) { u32 sum = 0; u32 *startp = start; @@ -1140,7 +1140,7 @@ static int bubt_is_dev_active(struct bubt_dev *dev) return 1; } -struct bubt_dev *find_bubt_dev(char *dev_name) +static struct bubt_dev *find_bubt_dev(char *dev_name) { int dev; @@ -1168,7 +1168,7 @@ struct bubt_dev *find_bubt_dev(char *dev_name) #endif #endif /* DEFAULT_BUBT_DST */ -int do_bubt_cmd(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) +static int do_bubt_cmd(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { struct bubt_dev *src, *dst; size_t image_size; |