diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-07-12 10:58:21 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 10:58:21 -0400 |
commit | 1f83b8f148a1eb967d2a628cbb741cd56fb54572 (patch) | |
tree | 43b56238822ab35ec90a9ee9e9c014247950622f /arch/blackfin/mm | |
parent | 669b792c77bbc30e9f4d9c95dbc918dc348c49c2 (diff) |
Blackfin arch: cleanup warnings from checkpatch -- no functional changes
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mm')
-rw-r--r-- | arch/blackfin/mm/blackfin_sram.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mm/init.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mm/blackfin_sram.c b/arch/blackfin/mm/blackfin_sram.c index 68107924639e..16c6169ed01b 100644 --- a/arch/blackfin/mm/blackfin_sram.c +++ b/arch/blackfin/mm/blackfin_sram.c | |||
@@ -87,7 +87,7 @@ void __init l1sram_init(void) | |||
87 | L1_SCRATCH_LENGTH >> 10); | 87 | L1_SCRATCH_LENGTH >> 10); |
88 | 88 | ||
89 | memset(&l1_ssram, 0x00, sizeof(l1_ssram)); | 89 | memset(&l1_ssram, 0x00, sizeof(l1_ssram)); |
90 | l1_ssram[0].paddr = (void*)L1_SCRATCH_START; | 90 | l1_ssram[0].paddr = (void *)L1_SCRATCH_START; |
91 | l1_ssram[0].size = L1_SCRATCH_LENGTH; | 91 | l1_ssram[0].size = L1_SCRATCH_LENGTH; |
92 | l1_ssram[0].flag = SRAM_SLT_FREE; | 92 | l1_ssram[0].flag = SRAM_SLT_FREE; |
93 | 93 | ||
@@ -126,7 +126,7 @@ void __init l1_inst_sram_init(void) | |||
126 | { | 126 | { |
127 | #if L1_CODE_LENGTH != 0 | 127 | #if L1_CODE_LENGTH != 0 |
128 | memset(&l1_inst_sram, 0x00, sizeof(l1_inst_sram)); | 128 | memset(&l1_inst_sram, 0x00, sizeof(l1_inst_sram)); |
129 | l1_inst_sram[0].paddr = (void*)L1_CODE_START + (_etext_l1 - _stext_l1); | 129 | l1_inst_sram[0].paddr = (void *)L1_CODE_START + (_etext_l1 - _stext_l1); |
130 | l1_inst_sram[0].size = L1_CODE_LENGTH - (_etext_l1 - _stext_l1); | 130 | l1_inst_sram[0].size = L1_CODE_LENGTH - (_etext_l1 - _stext_l1); |
131 | l1_inst_sram[0].flag = SRAM_SLT_FREE; | 131 | l1_inst_sram[0].flag = SRAM_SLT_FREE; |
132 | 132 | ||
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c index 570356dbe028..2d12449be596 100644 --- a/arch/blackfin/mm/init.c +++ b/arch/blackfin/mm/init.c | |||
@@ -29,8 +29,8 @@ | |||
29 | 29 | ||
30 | #include <linux/swap.h> | 30 | #include <linux/swap.h> |
31 | #include <linux/bootmem.h> | 31 | #include <linux/bootmem.h> |
32 | #include <linux/uaccess.h> | ||
32 | #include <asm/bfin-global.h> | 33 | #include <asm/bfin-global.h> |
33 | #include <asm/uaccess.h> | ||
34 | #include <asm/l1layout.h> | 34 | #include <asm/l1layout.h> |
35 | #include "blackfin_sram.h" | 35 | #include "blackfin_sram.h" |
36 | 36 | ||