diff options
Diffstat (limited to 'arch/sh/drivers/pci/pci-sh7751.c')
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7751.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c index 682f3dae305..65093ec1b55 100644 --- a/arch/sh/drivers/pci/pci-sh7751.c +++ b/arch/sh/drivers/pci/pci-sh7751.c | |||
@@ -223,7 +223,7 @@ static int __init __area_sdram_check(unsigned int area) | |||
223 | 223 | ||
224 | word = inl(SH7751_BCR1); | 224 | word = inl(SH7751_BCR1); |
225 | /* check BCR for SDRAM in area */ | 225 | /* check BCR for SDRAM in area */ |
226 | if(((word >> area) & 1) == 0) { | 226 | if (((word >> area) & 1) == 0) { |
227 | printk("PCI: Area %d is not configured for SDRAM. BCR1=0x%x\n", | 227 | printk("PCI: Area %d is not configured for SDRAM. BCR1=0x%x\n", |
228 | area, word); | 228 | area, word); |
229 | return 0; | 229 | return 0; |
@@ -232,7 +232,7 @@ static int __init __area_sdram_check(unsigned int area) | |||
232 | 232 | ||
233 | word = (u16)inw(SH7751_BCR2); | 233 | word = (u16)inw(SH7751_BCR2); |
234 | /* check BCR2 for 32bit SDRAM interface*/ | 234 | /* check BCR2 for 32bit SDRAM interface*/ |
235 | if(((word >> (area << 1)) & 0x3) != 0x3) { | 235 | if (((word >> (area << 1)) & 0x3) != 0x3) { |
236 | printk("PCI: Area %d is not 32 bit SDRAM. BCR2=0x%x\n", | 236 | printk("PCI: Area %d is not 32 bit SDRAM. BCR2=0x%x\n", |
237 | area, word); | 237 | area, word); |
238 | return 0; | 238 | return 0; |