From d95355880a66fcbdb056031425288d29a9e6691f Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Tue, 8 Mar 2011 00:09:11 +0000 Subject: Fix compilation if CONFIG_INTERNAL=no Fix compilation if everything except CONFIG_SATAMV is no. Do not compile in PCI support for wiki printing if no PCI devices are supported. Corresponding to flashrom svn r1278. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher --- programmer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'programmer.h') diff --git a/programmer.h b/programmer.h index 47b3e4a..fbc82cc 100644 --- a/programmer.h +++ b/programmer.h @@ -229,7 +229,7 @@ int rpci_write_long(struct pci_dev *dev, int reg, uint32_t data); #endif /* print.c */ -#if CONFIG_NIC3COM+CONFIG_NICREALTEK+CONFIG_NICNATSEMI+CONFIG_GFXNVIDIA+CONFIG_DRKAISER+CONFIG_SATASII+CONFIG_ATAHPT+CONFIG_NICINTEL_SPI+CONFIG_OGP_SPI >= 1 +#if CONFIG_NIC3COM+CONFIG_NICREALTEK+CONFIG_NICNATSEMI+CONFIG_GFXNVIDIA+CONFIG_DRKAISER+CONFIG_SATASII+CONFIG_ATAHPT+CONFIG_NICINTEL_SPI+CONFIG_OGP_SPI+CONFIG_SATAMV >= 1 void print_supported_pcidevs(const struct pcidev_status *devs); #endif -- cgit v1.1