Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133427
b: refs/heads/master
c: 9591463
h: refs/heads/master
i:
  133425: 21bdf49
  133423: 668bb09
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent af39727 commit 77f03af
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: 9d6b4c82bffbe6de624ff86cb279166867f46365
refs/heads/master: 9591463af7ea3a2d723c7e39c08aa05ad27e7bfc
4 changes: 2 additions & 2 deletions trunk/drivers/dio/dio.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static int __init dio_init(void)

/* Initialize the DIO bus */
INIT_LIST_HEAD(&dio_bus.devices);
strcpy(dio_bus.dev.bus_id, "dio");
dev_set_name(&dio_bus.dev, "dio");
error = device_register(&dio_bus.dev);
if (error) {
pr_err("DIO: Error registering dio_bus\n");
Expand Down Expand Up @@ -237,7 +237,7 @@ static int __init dio_init(void)
dev->scode = scode;
dev->resource.start = pa;
dev->resource.end = pa + DIO_SIZE(scode, va);
sprintf(dev->dev.bus_id,"%02x", scode);
dev_set_name(&dev->dev, "%02x", scode);

/* read the ID byte(s) and encode if necessary. */
prid = DIO_ID(va);
Expand Down

0 comments on commit 77f03af

Please sign in to comment.