Re: [PATCHv2] gpio-mcp23s08: Build I2C support even when CONFIG_I2C=m

2012-11-08 Thread Linus Walleij
On Wed, Nov 7, 2012 at 5:51 AM, Daniel M. Weeks wrote: > The driver has both SPI and I2C pieces. The appropriate pieces are built based > on whether SPI and/or I2C is/are enabled. However, it was only checking if I2C > was built-in, never if it was built as a module. This patch checks for either

[PATCHv2] gpio-mcp23s08: Build I2C support even when CONFIG_I2C=m

2012-11-06 Thread Daniel M. Weeks
The driver has both SPI and I2C pieces. The appropriate pieces are built based on whether SPI and/or I2C is/are enabled. However, it was only checking if I2C was built-in, never if it was built as a module. This patch checks for either since building both this driver and I2C as modules is possible.