summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorPavel Machek <pavel@denx.de>2014-07-19 23:50:44 +0200
committerTom Rini <trini@ti.com>2014-07-22 07:44:27 -0400
commit3f9eb6e1095b791867975c236bd7ab8b0a51acf4 (patch)
treee66d0b647155937980be802ebde7e7e1a056d5f6 /disk
parent5fc2f924dc6983738de13c820a976d8a3f92ec86 (diff)
whitespace cleanups
Whitespace cleanups. Signed-off-by: Pavel Machek <pavel@denx.de>
Diffstat (limited to 'disk')
-rw-r--r--disk/part.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/disk/part.c b/disk/part.c
index baceb19c60c..ecc5e7e0bfa 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -333,7 +333,7 @@ static void print_part_header (const char *type, block_dev_desc_t * dev_desc)
#endif /* any CONFIG_..._PARTITION */
-void print_part (block_dev_desc_t * dev_desc)
+void print_part(block_dev_desc_t * dev_desc)
{
switch (dev_desc->part_type) {
@@ -381,8 +381,8 @@ void print_part (block_dev_desc_t * dev_desc)
#endif /* HAVE_BLOCK_DEVICE */
-int get_partition_info(block_dev_desc_t *dev_desc, int part
- , disk_partition_t *info)
+int get_partition_info(block_dev_desc_t *dev_desc, int part,
+ disk_partition_t *info)
{
#ifdef HAVE_BLOCK_DEVICE
@@ -511,7 +511,7 @@ int get_device_and_partition(const char *ifname, const char *dev_part_str,
disk_partition_t tmpinfo;
/*
- * Special-case a psuedo block device "hostfs", to allow access to the
+ * Special-case a pseudo block device "hostfs", to allow access to the
* host's own filesystem.
*/
if (0 == strcmp(ifname, "hostfs")) {