summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/storage/mmc.c2
-rw-r--r--src/commonlib/storage/storage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commonlib/storage/mmc.c b/src/commonlib/storage/mmc.c
index d88e469291..e09d826782 100644
--- a/src/commonlib/storage/mmc.c
+++ b/src/commonlib/storage/mmc.c
@@ -529,7 +529,7 @@ int mmc_set_partition(struct storage_media *media,
const char *mmc_partition_name(struct storage_media *media,
unsigned int partition_number)
{
- static const char * const partition_name[8] = {
+ static const char *const partition_name[8] = {
"User", /* 0 */
"Boot 1", /* 1 */
"Boot 2", /* 2 */
diff --git a/src/commonlib/storage/storage.c b/src/commonlib/storage/storage.c
index d2b566f71e..927e12ff30 100644
--- a/src/commonlib/storage/storage.c
+++ b/src/commonlib/storage/storage.c
@@ -31,7 +31,7 @@
#define HEX_CAPACITY_MULTIPLIER 1024ULL
struct capacity {
- const char * const units;
+ const char *const units;
uint64_t bytes;
};