Messages in this thread | | | Date | Mon, 1 Nov 2004 09:35:14 +0000 | From | Christoph Hellwig <> | Subject | Re: [patch 1/2] fakephp: introduce pci_bus_add_device |
| |
On Mon, Nov 01, 2004 at 12:59:54AM +0100, Jan Dittmer wrote: > fakephp needs to add newly discovered devices to the global pci list. > Therefore seperate out the appropriate chunk from pci_bus_add_devices > to pci_bus_add_device to add a single device to sysfs, procfs > and the global device list. > > Signed-off-by: Jan Dittmer <jdittmer@ppp0.net> > > ===== drivers/pci/bus.c 1.9 vs edited ===== > --- 1.9/drivers/pci/bus.c 2004-04-11 00:27:59 +02:00 > +++ edited/drivers/pci/bus.c 2004-10-31 23:24:10 +01:00 > @@ -69,6 +69,24 @@ > } > > /** > + * add a single device > + * @dev: device to add > + * > + * This adds a single pci device to the global > + * device list and adds sysfs and procfs entries for it > + */ > +void __devinit pci_bus_add_device(struct pci_dev *dev) {
the brace should go to a line of it's own
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |