Skip to content

Commit

Permalink
make i2c-acorn tristate
Browse files Browse the repository at this point in the history
It depends on tristate I2C and it's trivial to make modular.  The
current Kconfig allows I2C=m, I2C_ACORN=y, which doesn't work at
all; alternatives are dependency on I2C=y and making I2C_ACORN
itself a tristate.  The latter is the right thing to do...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jul 15, 2007
1 parent ba5b55d commit 2a9915c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ config I2C_VERSATILE
will be called i2c-versatile.

config I2C_ACORN
bool "Acorn IOC/IOMD I2C bus support"
tristate "Acorn IOC/IOMD I2C bus support"
depends on ARCH_ACORN
default y
select I2C_ALGOBIT
Expand Down
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-acorn.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ static int __init i2c_ioc_init(void)
return i2c_bit_add_bus(&ioc_ops);
}

__initcall(i2c_ioc_init);
module_init(i2c_ioc_init);

0 comments on commit 2a9915c

Please sign in to comment.