Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1376377rwd; Thu, 1 Jun 2023 14:51:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5+RdhP2AVfU2OTmUKFHfPpetUA/zWM9vZj3bds0BGMIOxe57cEBEE+wJTOaBFBLVt47wzx X-Received: by 2002:a67:f94a:0:b0:437:e783:f11d with SMTP id u10-20020a67f94a000000b00437e783f11dmr5072867vsq.12.1685656280048; Thu, 01 Jun 2023 14:51:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685656279; cv=none; d=google.com; s=arc-20160816; b=BVszoeYQ6cl4st3byE4ue0OrAI4JLXi4WeuwfZnKDxH9aNIjCm3wO2uE+tLywn9Vx5 Inl4v58oOH4YenUs+il8brMGK29yG9zt51GnwlMqxFk73ofDA6T5EfLswGM2LmOAX9tA QPFc5joUhRQHPe1fwDAsRvL9BcsWsa9kNICHUKnNe/19mEXGcZyxXmUG5AXbpPfYNHM+ giRNb4D9aepbuC0URDnNNDtBFljrYisCvRWmOBY5Bj7oTYP1iOXWFpCFMSchBgd0G+cE I7aoz61UQkwy7VMfk249MM2f4sQKRx/RKgGnITU/NA0VF67rmfUpECLaYMYpg/8yVgJN YDZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=H9S9mlaf3TlALQ9jZUtSiziHggXmuyq9cb6GWJe6/Uc=; b=zXTcyah8qt95yTM/PUGk71DjCQk5hS1HXzIW0YRB8q7vZ5NL9WdCJI83BarJTAZq2v 16BUbuTG/yxIwBrAstZwXtIJ/P8o9qF3UqRh/YrRt6ugIWnn+bcfxrAhZiZtKdoEI2T6 hAMcOtBuKh4IqawaJNyKBVvuHJfcODpRpGS3mYW0P1jps0H7ahR7Lx00+z9R83eCbfRu M2Q/80nqXgBn62Dgn/I+/laJNbtWPlLHa54rvllI6j1nypzZ1MRxX0jvCLqKK715SENI t0riFKW4IRPQAxRs1v5gUF8oEgqD/460Lh8zLzwHtOcVCRazPAJa7P7GD51LetSWH2ie r85w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UhgKZQcu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w24-20020a63af18000000b005428f77eff7si416802pge.854.2023.06.01.14.51.02; Thu, 01 Jun 2023 14:51:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UhgKZQcu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232622AbjFAVdv (ORCPT + 99 others); Thu, 1 Jun 2023 17:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232625AbjFAVdt (ORCPT ); Thu, 1 Jun 2023 17:33:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3320719D; Thu, 1 Jun 2023 14:33:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 97F6B649FE; Thu, 1 Jun 2023 21:33:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F10BC433D2; Thu, 1 Jun 2023 21:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685655227; bh=2PZNDZhyudgBBw1UYaIHU6reQUknQRHhSFn37DBiuGs=; h=From:To:Cc:Subject:Date:From; b=UhgKZQcuZKTR+h0KqnTOLA+v8IgT2UiQamqAETovgT4iRVZCIJDCwmRUfDjLA+NlQ vpUACaZ65gBPYLGw+Nc41zhaHhdwEjr/FWIi8+8hZORXgjXixld/zf6zdnOgoX/aRG HnJtRmrubSNC0lEya//iOimyD0/U9cFhL0eHFMx7lEeJvCqL0ZYTYdhaeRxlTcibvq kp4JDVAqFLIlu5V91IxP4cT2glLh7ZKy/qzu3oFYU9jswh2OHtuERaof0IX4W77EzL 3qnGBa0L2LhAJqCM/H1XDhoCUgYwNI/rjtKDLcSBcOQEc0XnxF1IW8oTVewgempVJT cYurWSe8wW+5Q== From: Arnd Bergmann To: Greg Kroah-Hartman , Heikki Krogerus , Prashant Malani , Bjorn Andersson Cc: Arnd Bergmann , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: typec: mux: Fix extraneous semicolon Date: Thu, 1 Jun 2023 23:33:37 +0200 Message-Id: <20230601213342.3334659-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann A recent patch introduced a typo in the fwnode_typec_mux_get() stub function that causes a build failure in some configurations: In file included from drivers/phy/qualcomm/phy-qcom-qmp-combo.c:23: include/linux/usb/typec_mux.h:77:1: error: expected identifier or '(' before '{' token include/linux/usb/typec_mux.h:76:33: error: 'fwnode_typec_mux_get' used but never defined [-Werror] Fixes: 3524fe31538c1 ("usb: typec: mux: Remove alt mode parameters from the API") Signed-off-by: Arnd Bergmann --- include/linux/usb/typec_mux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/usb/typec_mux.h b/include/linux/usb/typec_mux.h index 11bfa314529fd..2489a7857d8e1 100644 --- a/include/linux/usb/typec_mux.h +++ b/include/linux/usb/typec_mux.h @@ -73,7 +73,7 @@ void *typec_mux_get_drvdata(struct typec_mux_dev *mux); #else -static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode); +static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) { return NULL; } -- 2.39.2