Files
linux/arch/powerpc/kernel
Michael Ellerman d468fcafb7 powerpc/pci: Fix build with PCI_IOV=y and EEH=n
Despite attempting to fix this in commit fb36e90736 ("powerpc/pci: Fix
SRIOV not building without EEH enabled"), the build is still broken when
PCI_IOV=y and EEH=n (eg. g5_defconfig with PCI_IOV=y):

  arch/powerpc/kernel/pci_dn.c: In function ‘remove_dev_pci_data’:
  arch/powerpc/kernel/pci_dn.c:230:18: error: unused variable ‘edev’

Incorporate Ben's idea of using __maybe_unused to avoid so many #ifdefs.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-07-07 16:33:27 +10:00
..
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-06-14 13:58:26 +10:00
2016-06-21 15:30:56 +10:00
2016-06-14 13:58:26 +10:00
2014-11-27 09:32:58 +11:00
2016-06-14 13:58:26 +10:00
2015-08-06 15:10:20 +10:00
2015-03-24 13:15:52 +11:00
2016-06-14 13:58:26 +10:00
2016-06-14 13:58:26 +10:00
2016-06-21 15:30:51 +10:00
2016-06-21 15:30:50 +10:00
2015-04-07 17:15:13 +10:00
2016-04-12 21:05:18 +10:00