Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2022 15:10:42 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: de73f3d52dc9 - stable/13 - linuxkpi: Add I2C_NAME_SIZE and I2C_MODULE_PREFIX defines
Message-ID:  <202209071510.287FAgsY027908@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=de73f3d52dc940fd908666b24e168abee23231d0

commit de73f3d52dc940fd908666b24e168abee23231d0
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-08-16 12:34:20 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-09-07 15:09:06 +0000

    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
    
    (cherry picked from commit 7bf65b00c6d3ad2438e1bf40e4e76808a7bf5581)
---
 sys/compat/linuxkpi/common/include/linux/mod_devicetable.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h b/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h
index 5609c6f775e9..89adcbc6e969 100644
--- a/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h
+++ b/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h
@@ -69,4 +69,7 @@ struct dmi_system_id {
 #define DMI_MATCH(a, b) { .slot = a, .substr = b }
 #define DMI_EXACT_MATCH(a, b)   { .slot = a, .substr = b, }
 
+#define	I2C_NAME_SIZE		20
+#define	I2C_MODULE_PREFIX	"i2c:"
+
 #endif	/* __LINUXKPI_LINUX_MOD_DEVICETABLE_H__ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209071510.287FAgsY027908>