Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73373
b: refs/heads/master
c: 07782ce
h: refs/heads/master
i:
  73371: 6d9ae72
v: v3
  • Loading branch information
Paul Mundt committed Nov 7, 2007
1 parent 7687bc6 commit c0b8d21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0acc729ea31cb166116e350eb61694559b1d29aa
refs/heads/master: 07782cec9b444746859855fc310f20f254e995a0
7 changes: 4 additions & 3 deletions trunk/drivers/sh/superhyway/superhyway.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,17 @@ int superhyway_add_devices(struct superhyway_bus *bus,
static int __init superhyway_init(void)
{
struct superhyway_bus *bus;
int ret = 0;
int ret;

device_register(&superhyway_bus_device);
ret = device_register(&superhyway_bus_device);
if (unlikely(ret))
return ret;

for (bus = superhyway_channels; bus->ops; bus++)
ret |= superhyway_scan_bus(bus);

return ret;
}

postcore_initcall(superhyway_init);

static const struct superhyway_device_id *
Expand Down

0 comments on commit c0b8d21

Please sign in to comment.