alistair23-linux/drivers/pci
Michael Ellerman a2cd52ca90 PCI: Make pcibios_add_platform_entries() return errors
Currently pcibios_add_platform_entries() returns void, but could fail,
so instead have it return an int and propagate errors up to
pci_create_sysfs_dev_files().

Fixes:
arch/powerpc/kernel/pci_64.c: In function 'pcibios_add_platform_entries':
arch/powerpc/kernel/pci_64.c:878: warning: ignoring return value of
	'device_create_file', declared with attribute warn_unused_result
arch/powerpc/kernel/pci_32.c: In function 'pcibios_add_platform_entries':
  arch/powerpc/kernel/pci_32.c:1043: warning: ignoring return value of
	'device_create_file', declared with attribute warn_unused_result

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:07 -07:00
..
hotplug Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
pcie Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
.gitignore
access.c
bus.c
hotplug.c
htirq.c
Kconfig
Makefile
msi.c msi: mask the msix vector before we unmap it 2007-06-01 08:18:27 -07:00
msi.h
pci-acpi.c
pci-driver.c Fix more "deprecated" spellos. 2007-05-09 07:19:14 +02:00
pci-sysfs.c PCI: Make pcibios_add_platform_entries() return errors 2007-07-11 16:02:07 -07:00
pci.c PCI: add PCI-X/PCI-Express read control interfaces 2007-07-11 16:02:07 -07:00
pci.h
probe.c PCI: point people to Bernhard instead of the linux-kernel list 2007-07-11 16:02:06 -07:00
proc.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
quirks.c PCI: add PCI-X/PCI-Express read control interfaces 2007-07-11 16:02:07 -07:00
remove.c
rom.c
search.c PCI: Fix pci_find_present 2007-05-31 16:56:37 -07:00
setup-bus.c
setup-irq.c
setup-res.c
syscall.c pci syscall.c: Switch to refcounting API 2007-07-11 16:02:07 -07:00