diff options
Diffstat (limited to 'arch/mips/lantiq/xway/ebu.c')
-rw-r--r-- | arch/mips/lantiq/xway/ebu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/lantiq/xway/ebu.c b/arch/mips/lantiq/xway/ebu.c index 033b3184c7a7..862e3e830680 100644 --- a/arch/mips/lantiq/xway/ebu.c +++ b/arch/mips/lantiq/xway/ebu.c | |||
@@ -32,17 +32,17 @@ static int __init lantiq_ebu_init(void) | |||
32 | { | 32 | { |
33 | /* insert and request the memory region */ | 33 | /* insert and request the memory region */ |
34 | if (insert_resource(&iomem_resource, <q_ebu_resource) < 0) | 34 | if (insert_resource(&iomem_resource, <q_ebu_resource) < 0) |
35 | panic("Failed to insert ebu memory\n"); | 35 | panic("Failed to insert ebu memory"); |
36 | 36 | ||
37 | if (request_mem_region(ltq_ebu_resource.start, | 37 | if (request_mem_region(ltq_ebu_resource.start, |
38 | resource_size(<q_ebu_resource), "ebu") < 0) | 38 | resource_size(<q_ebu_resource), "ebu") < 0) |
39 | panic("Failed to request ebu memory\n"); | 39 | panic("Failed to request ebu memory"); |
40 | 40 | ||
41 | /* remap ebu register range */ | 41 | /* remap ebu register range */ |
42 | ltq_ebu_membase = ioremap_nocache(ltq_ebu_resource.start, | 42 | ltq_ebu_membase = ioremap_nocache(ltq_ebu_resource.start, |
43 | resource_size(<q_ebu_resource)); | 43 | resource_size(<q_ebu_resource)); |
44 | if (!ltq_ebu_membase) | 44 | if (!ltq_ebu_membase) |
45 | panic("Failed to remap ebu memory\n"); | 45 | panic("Failed to remap ebu memory"); |
46 | 46 | ||
47 | /* make sure to unprotect the memory region where flash is located */ | 47 | /* make sure to unprotect the memory region where flash is located */ |
48 | ltq_ebu_w32(ltq_ebu_r32(LTQ_EBU_BUSCON0) & ~EBU_WRDIS, LTQ_EBU_BUSCON0); | 48 | ltq_ebu_w32(ltq_ebu_r32(LTQ_EBU_BUSCON0) & ~EBU_WRDIS, LTQ_EBU_BUSCON0); |