Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a9915c8 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

make i2c-acorn tristate



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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Acked-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent ba5b55d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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);