|
@@ -127,7 +127,7 @@ static struct pci_driver nforce2_driver;
|
|
|
|
|
|
/* For multiplexing support, we need a global reference to the 1st
|
|
/* For multiplexing support, we need a global reference to the 1st
|
|
SMBus channel */
|
|
SMBus channel */
|
|
-#if defined CONFIG_I2C_NFORCE2_S4985 || defined CONFIG_I2C_NFORCE2_S4985_MODULE
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_I2C_NFORCE2_S4985)
|
|
struct i2c_adapter *nforce2_smbus;
|
|
struct i2c_adapter *nforce2_smbus;
|
|
EXPORT_SYMBOL_GPL(nforce2_smbus);
|
|
EXPORT_SYMBOL_GPL(nforce2_smbus);
|
|
|
|
|