i2c-stub: Allow user to disable some commands
authorJean Delvare <khali@linux-fr.org>
Sun, 6 Dec 2009 16:06:29 +0000 (17:06 +0100)
committerJean Delvare <khali@linux-fr.org>
Sun, 6 Dec 2009 16:06:29 +0000 (17:06 +0100)
commit38f41f282f1f88b4038f019de51cb95984e569d5
treed885feffa6639bfb8824c4e7a68135ceed436fe4
parent4710317891e4824ce1510a6b5066abbd3e917750
i2c-stub: Allow user to disable some commands

Add a module parameter to override the functionality bitfield. This
lets the user disable some commands. This can be used to force a chip
driver to take different code paths.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/i2c/i2c-stub
drivers/i2c/busses/i2c-stub.c