Re: [PATCH v10 4/8] i2c: thunderx: Add SMBUS alert support

From: Jan Glauber
Date: Tue Aug 23 2016 - 17:29:16 EST


On Tue, Aug 23, 2016 at 10:57:25PM +0200, Wolfram Sang wrote:
> On Wed, Jun 15, 2016 at 03:51:30PM +0200, Jan Glauber wrote:
> > Add SMBUS alert interrupt support. For now only device tree is
> > supported for specifying the alert. In case of ACPI an error
> > is returned.
> >
> > Signed-off-by: Jan Glauber <jglauber@xxxxxxxxxx>
>
> What about 'select I2C_SMBUS' in Kconfig and skip all the ifdeffery?
>

Wouldn't that prevent a distribution that has I2C_HELPER_AUTO set
from enabling the ThunderX i2c driver at all?

--Jan