mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
[PATCH] I2C: add i2c module alias for i2c drivers to use
This is the start of adding hotplug-like support for i2c devices. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
0dc9a32d9a
commit
a9d1b24d91
3 changed files with 16 additions and 0 deletions
|
@ -244,4 +244,9 @@ struct pcmcia_device_id {
|
|||
#define PCMCIA_DEV_ID_MATCH_FAKE_CIS 0x0200
|
||||
#define PCMCIA_DEV_ID_MATCH_ANONYMOUS 0x0400
|
||||
|
||||
/* I2C */
|
||||
struct i2c_device_id {
|
||||
__u16 id;
|
||||
};
|
||||
|
||||
#endif /* LINUX_MOD_DEVICETABLE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue