[PATCH] Fix IPMI SMBus driver to select the I2C layer instead ofdepend on it

From: Corey Minyard
Date: Wed Feb 09 2005 - 12:28:59 EST


This is on top of the IPMI SMBus driver in the current mm kernel.

Thanks,

-Corey Make the IPMI SMBus select I2C, not depend on it, so I2C gets
enabled properly when the IPMI SMBus is enabled.

Signed-off-by: Corey Minyard <minyard@xxxxxxx>

Index: linux-2.6.11-rc3/drivers/char/ipmi/Kconfig
===================================================================
--- linux-2.6.11-rc3.orig/drivers/char/ipmi/Kconfig
+++ linux-2.6.11-rc3/drivers/char/ipmi/Kconfig
@@ -53,7 +53,8 @@

config IPMI_SMB
tristate 'IPMI SMBus handler'
- depends on IPMI_HANDLER && I2C
+ depends on IPMI_HANDLER
+ select I2C
help
Provides a driver for a SMBus interface to a BMC, meaning that you
have a driver that must be accessed over an I2C bus instead of a