diff options
author | Daniel M. Weeks <dan@danweeks.net> | 2012-11-07 08:51:05 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-18 01:22:24 +0400 |
commit | cbf24fad8e6e97b7cd7dd1099f5b801689dc234a (patch) | |
tree | c44168d92cbeac57aafed3be8cc924f0fd114c09 /drivers/gpio/gpio-mm-lantiq.c | |
parent | cb144fe8e0e70ccb12e93c9c9f010a25b3f2a158 (diff) | |
download | linux-cbf24fad8e6e97b7cd7dd1099f5b801689dc234a.tar.xz |
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 <dan@danweeks.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-mm-lantiq.c')
0 files changed, 0 insertions, 0 deletions