spi: Fix the case when PCI is not in use on intel driver

Change-Id: Id1c5f259e6788d8cba024139e710db9c9d78d943
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2015-08-27 11:04:41 +03:00 committed by Anas Nashif
parent 3d2f48b68f
commit 3e32b29f57

View file

@ -360,7 +360,7 @@ static inline int spi_intel_setup(struct device *dev)
return 1;
}
#else
#define spi_intel_setup(_unused_) { return 1;}
#define spi_intel_setup(_unused_) (1)
#endif /* CONFIG_PCI */
int spi_intel_init(struct device *dev)