linuxkpi: Add I2C_NAME_SIZE and I2C_MODULE_PREFIX defines

Both are needed by drm-kmod

Obtained from:	drm-kmod
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	//reviews.freebsd.org/D36212
This commit is contained in:
Emmanuel Vadot 2022-08-16 14:34:20 +02:00
parent 4b4ab8c310
commit 7bf65b00c6

View File

@ -70,4 +70,7 @@ struct dmi_system_id {
#define DMI_MATCH(a, b) { .slot = a, .substr = b }
#define DMI_EXACT_MATCH(a, b) { .slot = a, .substr = b, .exact_match = 1 }
#define I2C_NAME_SIZE 20
#define I2C_MODULE_PREFIX "i2c:"
#endif /* __LINUXKPI_LINUX_MOD_DEVICETABLE_H__ */