summaryrefslogtreecommitdiffstats
path: root/drivers/zorro/zorro.c
diff options
context:
space:
mode:
authorJacob <jacobenders1@gmail.com>2018-05-12 23:11:40 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2018-05-22 10:31:51 +0200
commitd49cbe73beb7ff51cb09aeb8b1b1347d2e08438a (patch)
tree86cc0cbca689f6c7a7cf43a394c9b40a78b8cb29 /drivers/zorro/zorro.c
parent065f109f2506d6b178555e3b2f0c91510211ee12 (diff)
downloadblackbird-op-linux-d49cbe73beb7ff51cb09aeb8b1b1347d2e08438a.tar.gz
blackbird-op-linux-d49cbe73beb7ff51cb09aeb8b1b1347d2e08438a.zip
zorro: Add a blank line after declarations
Fixes a coding style issue. Signed-off-by: Jacob Enders <jacobenders1@gmail.com> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/zorro/zorro.c')
-rw-r--r--drivers/zorro/zorro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c
index 47728477297e..67fa900572a9 100644
--- a/drivers/zorro/zorro.c
+++ b/drivers/zorro/zorro.c
@@ -101,6 +101,7 @@ static void __init mark_region(unsigned long start, unsigned long end,
end = end > Z2RAM_END ? Z2RAM_SIZE : end-Z2RAM_START;
while (start < end) {
u32 chunk = start>>Z2RAM_CHUNKSHIFT;
+
if (flag)
set_bit(chunk, zorro_unused_z2ram);
else
@@ -117,6 +118,7 @@ static struct resource __init *zorro_find_parent_resource(
for (i = 0; i < bridge->num_resources; i++) {
struct resource *r = &bridge->resource[i];
+
if (zorro_resource_start(z) >= r->start &&
zorro_resource_end(z) <= r->end)
return r;
@@ -168,6 +170,7 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
if (z->id == ZORRO_PROD_GVP_EPC_BASE) {
/* GVP quirk */
unsigned long magic = zi->boardaddr + 0x8000;
+
z->id |= *(u16 *)ZTWO_VADDR(magic) & GVP_PRODMASK;
}
z->slotaddr = zi->slotaddr;
OpenPOWER on IntegriCloud