EDAC, pci_sysfs: remove unneccessary ifdef around entire file
commit19ca5a3cc425cc9a8abedb0f4fb7b4e7ceee2255
authorAndreas Ruprecht <rupran@einserver.de>
Sun, 10 Aug 2014 19:10:03 +0000 (10 21:10 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 11 Nov 2014 17:17:57 +0000 (11 18:17 +0100)
treefba80abf3e61abb45dcbbd4bbc3207f5b977deb8
parent665aa8cdc499b9aeea6532e682a58ca34b7f94e6
EDAC, pci_sysfs: remove unneccessary ifdef around entire file

The file edac_pci_sysfs.c is dependent on CONFIG_PCI. This is already
modelled in the Makefile, but edac_pci_sysfs.o is still contained in
the list of files compiled even without CONFIG_PCI.

This change removes edac_pci_sysfs.o from the list of built objects
when not having CONFIG_PCI enabled and removes the then-unnecessary
ifdef from the source file.

Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
Link: http://lkml.kernel.org/r/1407697803-3837-1-git-send-email-rupran@einserver.de
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/Makefile
drivers/edac/edac_pci_sysfs.c