bcma: handle return value of pci_assign_resource
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 26 Nov 2012 23:30:04 +0000 (00:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2012 18:38:13 +0000 (13:38 -0500)
commit4a7267c9a03b9627e5e85c80b307eb4541bab902
tree8aa959b2c6ed2feeff33a0eb975025f427f1c462
parent0751f8654602e4255f0b9c17784d8100d5896010
bcma: handle return value of pci_assign_resource

This fixes the following warning:

  CC      drivers/bcma/driver_pci_host.o
drivers/bcma/driver_pci_host.c: In function 'bcma_core_pci_fixup_addresses':
drivers/bcma/driver_pci_host.c:555:23: error: ignoring return value of
'pci_assign_resource', declared with attribute warn_unused_result
[-Werror=unused-result]

Reported-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_pci_host.c