Re: [PATCH] gpio: mcp23s08: Fix build error when CONFIG_SPI_MASTER=y&& CONFIG_I2C=m

From: Axel Lin
Date: Sun May 19 2013 - 07:15:07 EST


>> --- a/drivers/gpio/Kconfig
>> +++ b/drivers/gpio/Kconfig
>> @@ -636,7 +636,7 @@ config GPIO_MAX7301
>>
>> config GPIO_MCP23S08
>> tristate "Microchip MCP23xxx I/O expander"
>> - depends on SPI_MASTER || I2C
>> + depends on (SPI_MASTER && I2C!=m) || I2C
>
> For me it looks like the result of the following will be the same
> depends on (SPI_MASTER && !I2C) || I2C

Yes, I think the result is the same.

I just send a v2.
So you can Ack the version you prefer.

Thanks for the review.
Axel
--
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/