]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: make pci_bus a struct device
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 May 2007 02:47:54 +0000 (22:47 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:31 +0000 (15:04 -0800)
commitc8a8b6e8fa9c0291b91ea3ec9dddc4dc9e1312d3
tree40bfac045b8f7e6b94da04f76ed402395edc45cf
parente8058c46edbb75c108c76072da73bb560046ccdb
PCI: make pci_bus a struct device

This moves the pci_bus class device to be a real struct device and at
the same time, place it in the device tree in the correct location.

Note, the old "bridge" symlink is now gone, but this was a non-standard
link and no userspace program used it.  If you need to determine the
device that the bus is on, follow the standard device symlink, or walk
up the device tree.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/bus.c
drivers/pci/pci-sysfs.c
drivers/pci/pci.h
drivers/pci/probe.c
drivers/pci/remove.c
include/linux/pci.h