whitespace cleanups
Whitespace cleanups. Signed-off-by: Pavel Machek <pavel@denx.de>
This commit is contained in:
parent
5fc2f924dc
commit
3f9eb6e109
|
@ -333,7 +333,7 @@ static void print_part_header (const char *type, block_dev_desc_t * dev_desc)
|
||||||
|
|
||||||
#endif /* any CONFIG_..._PARTITION */
|
#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) {
|
switch (dev_desc->part_type) {
|
||||||
|
@ -381,8 +381,8 @@ void print_part (block_dev_desc_t * dev_desc)
|
||||||
|
|
||||||
#endif /* HAVE_BLOCK_DEVICE */
|
#endif /* HAVE_BLOCK_DEVICE */
|
||||||
|
|
||||||
int get_partition_info(block_dev_desc_t *dev_desc, int part
|
int get_partition_info(block_dev_desc_t *dev_desc, int part,
|
||||||
, disk_partition_t *info)
|
disk_partition_t *info)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_BLOCK_DEVICE
|
#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;
|
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.
|
* host's own filesystem.
|
||||||
*/
|
*/
|
||||||
if (0 == strcmp(ifname, "hostfs")) {
|
if (0 == strcmp(ifname, "hostfs")) {
|
||||||
|
|
|
@ -26,7 +26,7 @@ typedef enum { /* typedef Altera_Family */
|
||||||
min_altera_type, /* insert all new types after this */
|
min_altera_type, /* insert all new types after this */
|
||||||
Altera_ACEX1K, /* ACEX1K Family */
|
Altera_ACEX1K, /* ACEX1K Family */
|
||||||
Altera_CYC2, /* CYCLONII Family */
|
Altera_CYC2, /* CYCLONII Family */
|
||||||
Altera_StratixII, /* StratixII Familiy */
|
Altera_StratixII, /* StratixII Family */
|
||||||
/* Add new models here */
|
/* Add new models here */
|
||||||
max_altera_type /* insert all new types before this */
|
max_altera_type /* insert all new types before this */
|
||||||
} Altera_Family; /* end, typedef Altera_Family */
|
} Altera_Family; /* end, typedef Altera_Family */
|
||||||
|
|
Loading…
Reference in New Issue