From 00929ee956df245a1fdb436fc6b48da620264c01 Mon Sep 17 00:00:00 2001 From: Frodo Looijaard Date: Sun, 12 Sep 1999 17:45:29 +0000 Subject: [PATCH] Some minor mkpatch fixes for menuconfig and older kernels. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@557 7894878c-1315-0410-8ee3-d5d059ff63e0 --- mkpatch/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mkpatch/Config.in b/mkpatch/Config.in index a4efbda5..876e2d5f 100644 --- a/mkpatch/Config.in +++ b/mkpatch/Config.in @@ -2,7 +2,7 @@ # Character device configuration # -if [ "$CONFIG_I2C" != "n" ] ; then +if [ "$CONFIG_I2C" = "m" -o "$CONFIG_I2C" = "y" ] ; then mainmenu_option next_comment comment 'Hardware sensors support' @@ -17,10 +17,10 @@ if [ "$CONFIG_I2C" != "n" ] ; then dep_tristate ' National Semiconductors LM80' CONFIG_SENSORS_LM80 $CONFIG_SENSORS dep_tristate ' Silicon Integrated Systems Corp. SiS5595' CONFIG_SENSORS_SIS5595 $CONFIG_SENSORS dep_tristate ' Winbond W83781D, W83782D and W83783S' CONFIG_SENSORS_W83781D $CONFIG_SENSORS - bool ' Other I2C devices' CONFIG_SENSORS_OTHER + bool 'Other I2C devices' CONFIG_SENSORS_OTHER if [ "$CONFIG_SENSORS_OTHER" = "y" ] ; then dep_tristate ' EEprom (DIMM) reader ' CONFIG_SENSORS_EEPROM $CONFIG_SENSORS - dep_tristate ' Linear Technologies LTC1710 ' CONFIG_SENSORS_LTC1710 $CONFIG_SENSORS + dep_tristate ' Linear Technologies LTC1710 ' CONFIG_SENSORS_LTC1710 $CONFIG_SENSORS fi fi endmenu