Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133431
b: refs/heads/master
c: cf43f4a
h: refs/heads/master
i:
  133429: 2c7ec78
  133427: 77f03af
  133423: 668bb09
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent 63f502c commit 1fbd3a4
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: 3e274bd02b04064632492a86fe99d3b613c74d84
refs/heads/master: cf43f4ab3a065296822bb245975d006707ccde8d
4 changes: 2 additions & 2 deletions trunk/drivers/mca/mca-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int __init mca_register_device(int bus, struct mca_device *mca_dev)

mca_dev->dev.parent = &mca_bus->dev;
mca_dev->dev.bus = &mca_bus_type;
sprintf (mca_dev->dev.bus_id, "%02d:%02X", bus, mca_dev->slot);
dev_set_name(&mca_dev->dev, "%02d:%02X", bus, mca_dev->slot);
mca_dev->dma_mask = mca_bus->default_dma_mask;
mca_dev->dev.dma_mask = &mca_dev->dma_mask;
mca_dev->dev.coherent_dma_mask = mca_dev->dma_mask;
Expand Down Expand Up @@ -151,7 +151,7 @@ struct mca_bus * __devinit mca_attach_bus(int bus)
if (!mca_bus)
return NULL;

sprintf(mca_bus->dev.bus_id,"mca%d",bus);
dev_set_name(&mca_bus->dev, "mca%d", bus);
sprintf(mca_bus->name,"Host %s MCA Bridge", bus ? "Secondary" : "Primary");
if (device_register(&mca_bus->dev)) {
kfree(mca_bus);
Expand Down

0 comments on commit 1fbd3a4

Please sign in to comment.