diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-14 21:53:31 +0100 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-14 21:53:31 +0100 |
commit | f9dd0194ff23d612e463be764d73da7825da4aa1 (patch) | |
tree | bb826626c73b5c4945a95ef5557940e2e3b4bd1c /include | |
parent | 96acafe05fad2c9429ca2c39af47efc5db2d8042 (diff) | |
download | linux-f9dd0194ff23d612e463be764d73da7825da4aa1.tar.gz linux-f9dd0194ff23d612e463be764d73da7825da4aa1.tar.bz2 linux-f9dd0194ff23d612e463be764d73da7825da4aa1.zip |
i2c: Driver IDs are optional
Document the fact that I2C driver IDs are optional.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c-id.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h index 88c81403eb3f..e18017d45758 100644 --- a/include/linux/i2c-id.h +++ b/include/linux/i2c-id.h @@ -23,6 +23,10 @@ #ifndef LINUX_I2C_ID_H #define LINUX_I2C_ID_H +/* Please note that I2C driver IDs are optional. They are only needed if a + legacy chip driver needs to identify a bus or a bus driver needs to + identify a legacy client. If you don't need them, just don't set them. */ + /* * ---- Driver types ----------------------------------------------------- */ |