From: David Rientjes Date: Thu, 27 Sep 2007 20:41:16 +0000 (-0700) Subject: pci: use size stored in proc_dir_entry for proc bus files X-Git-Tag: v2.6.24-rc1~1393^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd68602f36ceb65b24a9abcae10ca04a933c07fd;p=pandora-kernel.git pci: use size stored in proc_dir_entry for proc bus files On pci_proc_attach_device(), the size of the PCI configuration space is stored in the proc_dir_entry as the size of the file. Thus, the procfs interface to PCI devices should use it instead of the device directly. Signed-off-by: David Rientjes Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed