Commit 793bf0b1 authored by Linus Torvalds's avatar Linus Torvalds

Merge master.kernel.org:/home/mochel/BK/linux-2.5

into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
parents f0152514 2c9a0773
...@@ -279,8 +279,7 @@ int cb_alloc(socket_info_t * s) ...@@ -279,8 +279,7 @@ int cb_alloc(socket_info_t * s)
pci_readw(dev, PCI_DEVICE_ID, &dev->device); pci_readw(dev, PCI_DEVICE_ID, &dev->device);
dev->hdr_type = hdr & 0x7f; dev->hdr_type = hdr & 0x7f;
dev->dev.parent = bus->device; dev->dev.parent = bus->dev;
dev->dev.sysdata = bus->sysdata;
strcpy(dev->dev.name, dev->name); strcpy(dev->dev.name, dev->name);
strcpy(dev->dev.bus_id, dev->slot_name); strcpy(dev->dev.bus_id, dev->slot_name);
device_register(&dev->dev); device_register(&dev->dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment