diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-14 15:53:31 -0500 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-14 15:53:31 -0500 |
commit | f9dd0194ff23d612e463be764d73da7825da4aa1 (patch) | |
tree | bb826626c73b5c4945a95ef5557940e2e3b4bd1c | |
parent | 96acafe05fad2c9429ca2c39af47efc5db2d8042 (diff) |
i2c: Driver IDs are optional
Document the fact that I2C driver IDs are optional.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
-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 @@ | |||
23 | #ifndef LINUX_I2C_ID_H | 23 | #ifndef LINUX_I2C_ID_H |
24 | #define LINUX_I2C_ID_H | 24 | #define LINUX_I2C_ID_H |
25 | 25 | ||
26 | /* Please note that I2C driver IDs are optional. They are only needed if a | ||
27 | legacy chip driver needs to identify a bus or a bus driver needs to | ||
28 | identify a legacy client. If you don't need them, just don't set them. */ | ||
29 | |||
26 | /* | 30 | /* |
27 | * ---- Driver types ----------------------------------------------------- | 31 | * ---- Driver types ----------------------------------------------------- |
28 | */ | 32 | */ |