]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: checkpatch: Fix missing a blank line after declarations
authorRick Chen <rick@andestech.com>
Mon, 12 Feb 2018 03:21:28 +0000 (11:21 +0800)
committerAndes <uboot@andestech.com>
Fri, 30 Mar 2018 05:13:22 +0000 (13:13 +0800)
It is reported by checkpatch.pl
WARNING: Missing a blank line after declarations.

Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
arch/riscv/lib/bootm.c

index 44ce38b614281a3a9e91b3e216958de800d945cd..3744073cfa105ef4baa7615d0466f73ff2cb86f3 100644 (file)
@@ -210,9 +210,9 @@ static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end)
 #ifdef CONFIG_SERIAL_TAG
 void setup_serial_tag(struct tag **tmp)
 {
+       void get_board_serial(struct tag_serialnr *serialnr);
        struct tag *params;
        struct tag_serialnr serialnr;
-       void get_board_serial(struct tag_serialnr *serialnr);
 
        params = *tmp;
        get_board_serial(&serialnr);
@@ -228,8 +228,8 @@ void setup_serial_tag(struct tag **tmp)
 #ifdef CONFIG_REVISION_TAG
 void setup_revision_tag(struct tag **in_params)
 {
-       u32 rev;
        u32 get_board_rev(void);
+       u32 rev;
 
        rev = get_board_rev();
        params->hdr.tag = ATAG_REVISION;