drivers/intel/wifi: Only compile if SMBIOS tables are generated
commit8faea7d93d34f51e23de2d0ccd5c04b99d1dbbd7
authorDuncan Laurie <dlaurie@google.com>
Tue, 19 Jan 2016 04:09:18 +0000 (18 20:09 -0800)
committerDuncan Laurie <dlaurie@google.com>
Thu, 21 Jan 2016 01:26:26 +0000 (21 02:26 +0100)
tree31f60aa3fef96efec79181ef08478f1ce1fc9447
parent576b7c72647216329e28a2e56807544a94d09851
drivers/intel/wifi: Only compile if SMBIOS tables are generated

This driver adds an SMBIOS table for Intel WiFi, but if SMBIOS
table generation is disabled then it should not attempt to
compile or it will fail to find the "get_smbios_data" member
of the device_operations structure.

Tested by compiling and booting on purism/librem13 with
SMBIOS table generation disabled.

Change-Id: Iac6c265da7daae1be4d7585dab7b54561ff4e631
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/13046
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
src/drivers/intel/Makefile.inc