From 473d97940f8f42e641930b9c77ab2fca9a1e9877 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 3 Jan 2020 10:12:43 +0200 Subject: device/smbus: Drop SMBUS_HAS_AUX_CHANNELS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The guarded prototypes are no longer implemented in the tree. Change-Id: I5bfedde2aaf691826e7537eceb8578a855800ea2 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/38153 Tested-by: build bot (Jenkins) Reviewed-by: Frans Hendriks Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- src/include/device/smbus.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/include/device/smbus.h') diff --git a/src/include/device/smbus.h b/src/include/device/smbus.h index 863bc80d2a..094ad42629 100644 --- a/src/include/device/smbus.h +++ b/src/include/device/smbus.h @@ -53,9 +53,4 @@ static inline int smbus_write_byte(struct device *const dev, u8 addr, u8 val) int smbus_block_read(struct device *dev, u8 cmd, u8 bytes, u8 *buffer); int smbus_block_write(struct device *dev, u8 cmd, u8 bytes, const u8 *buffer); -#if CONFIG(SMBUS_HAS_AUX_CHANNELS) -void smbus_switch_to_channel(uint8_t channel_number); -uint8_t smbus_get_current_channel(void); -#endif - #endif /* DEVICE_SMBUS_H */ -- cgit v1.2.3