aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorRick Chen2018-02-12 11:21:28 +0800
committerAndes2018-03-30 13:13:22 +0800
commitb9076495db36feb862401696c587afd2ffa5a5af (patch)
tree079016b41a3dd88e89e7fd34eee0e0e968de2384 /arch/riscv
parent45fc9375760cee2e7e9bcb2151487a4a081b540e (diff)
riscv: checkpatch: Fix missing a blank line after declarations
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>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/lib/bootm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index 44ce38b6142..3744073cfa1 100644
--- a/arch/riscv/lib/bootm.c
+++ b/arch/riscv/lib/bootm.c
@@ -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;