From: Daniel M. Weeks Date: Wed, 7 Nov 2012 04:51:05 +0000 (-0500) Subject: gpio-mcp23s08: Build I2C support even when CONFIG_I2C=m X-Git-Tag: v3.7-rc7~34^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbf24fad8e6e97b7cd7dd1099f5b801689dc234a;p=pandora-kernel.git gpio-mcp23s08: Build I2C support even when CONFIG_I2C=m 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. Signed-off-by: Daniel M. Weeks Signed-off-by: Linus Walleij --- Reading git-diff-tree failed