summaryrefslogtreecommitdiff
path: root/drivers/pci/iov.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-10-05 08:41:37 (GMT)
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-04 17:01:44 (GMT)
commit586f1d6688c68a6c7fa4e6a00fa3968b16daef75 (patch)
tree08777d2d739a940dac83df927389323f56569ee2 /drivers/pci/iov.c
parent3c3a1b1759616e6603027108f8abcbec54271e62 (diff)
downloadlinux-fsl-qoriq-586f1d6688c68a6c7fa4e6a00fa3968b16daef75.tar.xz
PCI: pciehp: create files only for existing capabilities
Current pciehp driver creates 'attention' and 'latch' files even if the controller doesn't support them. In this case, the contents of those files are meaningless and unpredictable. Those files should be created only if the controller has the corresponding capabilities. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/iov.c')
0 files changed, 0 insertions, 0 deletions