Skip to content

Commit

Permalink
zorro: Add a blank line after declarations
Browse files Browse the repository at this point in the history
Fixes a coding style issue.

Signed-off-by: Jacob Enders <jacobenders1@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
  • Loading branch information
Jacob authored and Geert Uytterhoeven committed May 22, 2018
1 parent 065f109 commit d49cbe7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/zorro/zorro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit d49cbe7

Please sign in to comment.