From nobody Wed Sep 07 15:10:42 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MN5Kv0qNfz4bPf9; Wed, 7 Sep 2022 15:10:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MN5Kt4cqVz3bGd; Wed, 7 Sep 2022 15:10:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8PeRl/jM92pmwUuyZbBE++CfEETdpGb4eOQfWZ6WJt0=; b=A9tT/uq+ayLU5EWn/iWs+gsmZ3+O+0xqH3auQ+WGC2pgQnCOZMqgdjHt1TIOqn/n4wqSkm 7gzis61mw7QdDbIOIE9QJkftNsgtxepIQOIKmPOtU6XI9XagnAhFcrydet7qKALNBm/EnL DGvqbwnDt0k4FZPTAiNVKrABMWz7I7eQVPWH6emzy5iWgoYWd7ZEyxug5tT0hWWHyLKQbL EYR9bBHgLuHOtruQDfNRjxJY+mviuzhU78x9BvBAxhrdu9rssIaauljB/XBHZbL0C1MeSK AAhHGkfJC67sUZ9RrUJnF/m+SsLDtNmCiEiKbabOobbKn6DMLaBlzH8gEGZfOg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MN5Kt3knMzZC2; Wed, 7 Sep 2022 15:10:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 287FAgVm027909; Wed, 7 Sep 2022 15:10:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287FAgsY027908; Wed, 7 Sep 2022 15:10:42 GMT (envelope-from git) Date: Wed, 7 Sep 2022 15:10:42 GMT Message-Id: <202209071510.287FAgsY027908@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: de73f3d52dc9 - stable/13 - linuxkpi: Add I2C_NAME_SIZE and I2C_MODULE_PREFIX defines List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: de73f3d52dc940fd908666b24e168abee23231d0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8PeRl/jM92pmwUuyZbBE++CfEETdpGb4eOQfWZ6WJt0=; b=eo5Iz5oNeCLUaKvtIXo0k+uAJsbW7e7zW/+RbwH0IRpseLwhrw34gO6zVgglRwSse7UArX KxZwhHJorww7wShcfPezHtie2GAjghqL0uBlM+VmmFAixnUkaRkDS/CEjzWoFvnpnp5B9H ub+rFJ6fMI1b1PfaYCtLkj1Pszl72rhX+cNI8IqQO3hEEk1RzBZlEsigTDGqu3+QzCdHLq bs2iTWh9e2y33Ez85DtNAWgiXAreWBMZ0AOtdyjoFqHWdIUKJQKDcB4dDZFr749T/9DNQ3 RpF34Q24vQQy8peL1KXYuMkhkK2daSy2GMq6LPNzQYQeEazNqBpXqozHU2x8iw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662563442; a=rsa-sha256; cv=none; b=cYEeBU/tPcQoRxcZZA168zbz01bntRwIeq3WQSlmwUUG/HO09WBwAb6hW4tYAqxxojaUOt +83C57VwMag/FTh09Dxea90HYAn5ksfDaqz2sOIw+YYEyPu94bbOxnVqMCxGAYVJthAXfZ 3vosrj2pOld9v4u3mChl78g0UpdMZa9SjYVAW7u39Zan+2igtCVVXcNy20gRuCGX6deKl7 KSGGU9NieU1Rp3gC1/E9/eDWF4PC1WMx1aJmkoEbXjpFJOpp/4BRnBnc72jY3Ykkp22vep PQB7qUBdyWK4/p9IcmlkOn2Pi//gipoYyghyExGvYswSlLayiFk9sYkbs3SzAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=de73f3d52dc940fd908666b24e168abee23231d0 commit de73f3d52dc940fd908666b24e168abee23231d0 Author: Emmanuel Vadot AuthorDate: 2022-08-16 12:34:20 +0000 Commit: Emmanuel Vadot 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__ */