From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F4D5C61DA4 for ; Fri, 10 Mar 2023 00:33:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229476AbjCJAdK (ORCPT ); Thu, 9 Mar 2023 19:33:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjCJAdJ (ORCPT ); Thu, 9 Mar 2023 19:33:09 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2095016AFF; Thu, 9 Mar 2023 16:33:04 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4PXn8D2J3Hz4x5Y; Fri, 10 Mar 2023 11:33:00 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1678408380; bh=oJET0LTOVik+TYVQNyeayyXbuIXlTeWUQHE5QL6qUjA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IMqHxDqqsO0wgWRV8/WKFV/6EpthoY8IswahkwHW/aXFMEZu59ZuvjFf255jfFBOC bTcY9xLt5Ugv3o3O14IYeS7W1hcZX3K9LWyUc4mtcJ9cT2B3Te9eY1WDSr9An8r7k5 q/9n4yuHDUQ/6knx/XnxFWEqqAReTHvbEQgpifveuGPvaqYF4zZxfDcBlfcBMMmS5p b/3kbP5ryEHsfiINw6DmQ1o0L1GvI/YtF+WanelgSpeSIfJgMa8HFcUQ9Pqs99KZ1J 4Q63YMzqFwl8Soes8+FimpAzvPUunWanuDi+LF2Pg23yRVmIkOXpuv1jTRZF9vaqaM ql5t6ZVA7LFiA== Date: Fri, 10 Mar 2023 11:32:58 +1100 From: Stephen Rothwell To: Rob Herring Cc: Frank Rowand , Linux Kernel Mailing List , Linux Next Mailing List Subject: [PATCH] of: fix htmldocs build warning Message-ID: <20230310113258.463f836c@canb.auug.org.au> In-Reply-To: <20230220163638.04e9d0c4@canb.auug.org.au> References: <20230220163638.04e9d0c4@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/9Vh6Ti9wdjv9tp0nCE=qKtG"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org --Sig_/9Vh6Ti9wdjv9tp0nCE=qKtG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Fix this htmldoc build warning: include/linux/of.h:115: warning: cannot understand function prototype: 'con= st struct kobj_type of_node_ktype; ' Reported by: Stephen Rothwell Fixes: 39459ce717b8 ("of: dynamic: add lifecycle docbook info to node creat= ion functions") Signed-off-by: Stephen Rothwell --- include/linux/of.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) This is actually untested, but seems pretty straight forward. diff --git a/include/linux/of.h b/include/linux/of.h index 0af611307db2..814d33f3835a 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -100,6 +100,9 @@ struct of_reconfig_data { struct property *old_prop; }; =20 +extern const struct kobj_type of_node_ktype; +extern const struct fwnode_operations of_fwnode_ops; + /** * of_node_init - initialize a devicetree node * @node: Pointer to device node that has been created by kzalloc() @@ -111,9 +114,6 @@ struct of_reconfig_data { * whether to free the memory will be done by node->release(), which is * of_node_release(). */ -/* initialize a node */ -extern const struct kobj_type of_node_ktype; -extern const struct fwnode_operations of_fwnode_ops; static inline void of_node_init(struct device_node *node) { #if defined(CONFIG_OF_KOBJ) --=20 2.39.2 --Sig_/9Vh6Ti9wdjv9tp0nCE=qKtG Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmQKersACgkQAVBC80lX 0GwRVAgAkf9jI3+ORKtJgEzRRiJM7xdnVNDePgd1A7N9W3sg/zc2UwihXJea+i4Y 9i/cIccu1JqqICdzz30YNEREBIi7AMUhprO81fiExP8WLroPKDrhkpUtKvfMe/1y u8tgqjlkzQG4RU0YVF5iz4JfU7jmDhdJLT/GTVJ6hvByCzdAd/DugSg4zOzZALr9 HJABzXkF5ZpeaqnPliSgMSLTK0aD/0RSNYXfKSkOQquycZdwOe5gDqlDc+iACtCP Uoz+GF6W1gu6jyektIdtzZjuHlCoPyWQ2WYMILnyugVDfIxQmbzwfQafgsi3YfOK vsz0AxZu0Xh24csuyLlUMOrQvl3Q7Q== =QgBK -----END PGP SIGNATURE----- --Sig_/9Vh6Ti9wdjv9tp0nCE=qKtG--