]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Separate Kconfig option for i2c-smbus
authorJean Delvare <khali@linux-fr.org>
Tue, 2 Mar 2010 11:23:43 +0000 (12:23 +0100)
committerJean Delvare <khali@linux-fr.org>
Tue, 2 Mar 2010 11:23:43 +0000 (12:23 +0100)
commita1910b7247ea581ce03e17185a5c0ca16c58fb9e
treefa99cfa8b0e261a673f208e44a140e3ee933b612
parent3db90c3e0dee9598942ba5434d804e82cdcba30d
i2c: Separate Kconfig option for i2c-smbus

Having a separate Kconfig option for i2c-smbus makes it possible to
build that support as a module even when i2c-core itself is built-in.
Bus drivers which implement SMBus alert should select this option, so
in most cases this option is hidden and the user doesn't have to care
about it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Trent Piepho <tpiepho@freescale.com>
drivers/i2c/Kconfig
drivers/i2c/Makefile