From: Kenji Kaneshige Date: Mon, 5 Oct 2009 08:41:37 +0000 (+0900) Subject: PCI: pciehp: create files only for existing capabilities X-Git-Tag: v2.6.33-rc1~321^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=586f1d6688c68a6c7fa4e6a00fa3968b16daef75;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed