Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133412
b: refs/heads/master
c: 2796872
h: refs/heads/master
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent 51ee0dc commit 9f60d78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 7ad33e74857f16f1202cbc5746faf52e88e8b376
refs/heads/master: 2796872c40c462bacf2d09bb99faa6dcd640a620
4 changes: 2 additions & 2 deletions trunk/drivers/zorro/zorro.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static int __init zorro_init(void)

/* Initialize the Zorro bus */
INIT_LIST_HEAD(&zorro_bus.devices);
strcpy(zorro_bus.dev.bus_id, "zorro");
dev_set_name(&zorro_bus.dev, "zorro");
error = device_register(&zorro_bus.dev);
if (error) {
pr_err("Zorro: Error registering zorro_bus\n");
Expand All @@ -167,7 +167,7 @@ static int __init zorro_init(void)
if (request_resource(zorro_find_parent_resource(z), &z->resource))
pr_err("Zorro: Address space collision on device %s %pR\n",
z->name, &z->resource);
sprintf(z->dev.bus_id, "%02x", i);
dev_set_name(&z->dev, "%02x", i);
z->dev.parent = &zorro_bus.dev;
z->dev.bus = &zorro_bus_type;
error = device_register(&z->dev);
Expand Down

0 comments on commit 9f60d78

Please sign in to comment.