Make sure that the i2c-floppy and floppy drivers can't both be built
into the kernel.

Also tag i2c-floppy EXPERIMENTAL for now, it's a new driver that did
not see much testing yet.

Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
Cc: Herbert Poetzl <[EMAIL PROTECTED]>
---
 drivers/i2c/busses/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.27-rc3.orig/drivers/i2c/busses/Kconfig    2008-08-18 
19:54:54.000000000 +0200
+++ linux-2.6.27-rc3/drivers/i2c/busses/Kconfig 2008-08-18 20:58:01.000000000 
+0200
@@ -508,6 +508,7 @@ config I2C_FLOPPY
        tristate "Floppy controller adapter"
        select I2C_ALGOBIT
        default n
+       depends on !BLK_DEV_FD && EXPERIMENTAL
        help
          This supports a simple do-it-yourself floppy controller to
          I2C adapters using the motor control lines for SDA and SCL,


-- 
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to