From 9ead80f8700b37779ca6536b423fa5ee9544efd2 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 28 Aug 2012 07:49:49 +0300 Subject: Drop get_smbios_data from chip_operations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We only want to add data once per device. Using the one in chip_operations is not very usable anyway, as different devices under the same chip directory would need to output entirely different sets of data. Change-Id: I96690c4c699667343ebef44a7f3de1f974cf6d6d Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/1492 Reviewed-by: Duncan Laurie Tested-by: build bot (Jenkins) --- src/include/device/device.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/include/device/device.h') diff --git a/src/include/device/device.h b/src/include/device/device.h index 7e07dc15d1..ab5ab14ad4 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -17,9 +17,6 @@ struct smbus_bus_operations; struct chip_operations { void (*enable_dev)(struct device *dev); const char *name; -#if CONFIG_GENERATE_SMBIOS_TABLES - int (*get_smbios_data)(device_t dev, int *handle, unsigned long *current); -#endif }; #define CHIP_NAME(X) .name = X, -- cgit v1.2.3