Re: I2C_PARPORT_LIGHT dependence problem

From: Jean Delvare
Date: Sun Jan 20 2008 - 05:12:23 EST


Hi Adam,

On Sat, 19 Jan 2008 13:37:05 -0500, Adam Turk wrote:
> I am updating an old config to run on 2.6.23.14 and noticed I am
> still prompted for I2C_PARPORT_LIGHT even though I don't have
> the parallel port driver enabled. Shouldn't I2C_PARPORT_LIGHT
> depend on the parallel port being selected? (...)
>
> Symbol: I2C_PARPORT_LIGHT [=n]
> â Prompt: Parallel port adapter (light)
> â Defined at drivers/i2c/busses/Kconfig:348
> â Depends on: I2C
> â Location:
> â -> Device Drivers
> â -> I2C support (I2C [=m])
> â -> I2C Hardware Bus support
> â Selects: I2C_ALGOBIT

The help text says:

"This driver is a light version of i2c-parport. It doesn't depend on
the parport driver, and uses direct I/O access instead."

So I think that the (lack of) dependencies is correct. We don't want to
force the user to select PARPORT (and built the parport driver) to get
access to the i2c-parport-light driver which does NOT need this parport
driver.

--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/