Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1889362rdb; Tue, 20 Feb 2024 09:53:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV/E1kPTlisMjtihyTY3zeErRACI4FP2+Mie8sDvaBrb3ZPGkSSu8FfmjBvECuys7e1a9vIl/F3yR4zKZXpI0Gh4cm3QVLZhEGAg4McnA== X-Google-Smtp-Source: AGHT+IFt0gyL3TBf4Peav71iVIUFg599gcKEVTiiXlL3tt1dPBfj3m8xnmkWm3mxdhC3MJ+8Iyh/ X-Received: by 2002:a17:906:1155:b0:a3e:68a2:3d4e with SMTP id i21-20020a170906115500b00a3e68a23d4emr4940870eja.54.1708451632516; Tue, 20 Feb 2024 09:53:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708451632; cv=pass; d=google.com; s=arc-20160816; b=tf17Uw/j5x0HtZo8QNViCk9XrsyM53UiOScUSyOyHGxxXeo0W3NgWhnRqR5/Wupipo 4OW6RlFe4YAuhnch1x0jdAr92BAnChlpUpVo6zc12uzhGXTw75O4Pv4J7niCtlbZBp1W AHMpWlHsdSfV6iP0Ax2Ttoaqdb3+eYo4KLtT5QhSWjSxGS192Q/NR+z0khJT4cnZDPrQ tTEKIy1PBEG4I4zrwJhuw5nvevXS0UGi46//gh9fMzshnnuhelnB1bW+XCrUPqXnJ7Am Ta4CdKrHG+NoD++mCk88s/5TKtES8KwCErVmXE0rX3fsk6hENkdrClwJXL+1h3ykOcxM NowQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=2J5K7K1cXFP5RKkHRDVkAECMwnHWEZ/QY0sW4a0zypY=; fh=Yh6tBgaZxU8SoLn2bPTYGwXL+CfhNe3kyWaFqtfHABA=; b=TmUcZCNiV5lymi8Fy2FiIjDOx8jkh9jIoYzWPSGpQXVo9OfrL1Y36Wa8qYFRuUS1pU 2oKofBgqBGrYi5RQ4T7oEgFfv4jF08s2gLFS0rEtY3NpnIUqIKttUDfrCjqyfC8a8pOl ufykZ58sRT6gGJfYN1/8B8gzYrBRet3Fd1futELUnR9+oauDg3WK3mLs6UrY+6B9VHrP zPTU3UdNNvrIaBcijC3NVmvs1UQCQxUbpOFKI8RIfsecMbOCJiPoWO/KFw3kz1358Wcr XuOgHg4XwZTOrGWzVvCEhWUMcgkWdKtA8rkDJOaY7qEMIQazSMdxHQIoPt0Wb1kwJ4+7 GDFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Uyot1PdL; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-73471-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73471-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a6-20020a1709065f8600b00a3d2b8e500csi3604014eju.346.2024.02.20.09.53.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 09:53:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73471-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Uyot1PdL; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-73471-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73471-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 45DF31F2434B for ; Tue, 20 Feb 2024 17:53:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33EF677646; Tue, 20 Feb 2024 17:53:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Uyot1PdL" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05F5976C89; Tue, 20 Feb 2024 17:53:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708451621; cv=none; b=DPd9vt58KTok0o/NhdUpiGbYW0nKKMLIF8X/Od0fqlmLLzKJaGgdf5BzPXAvV0TiH6r/IHPNdO3rHWeNyxminuCSAOFT/G06Z022cvcPK8bmfTtLENA5f7e9SjhqJuNm4+KwoOHyxu5I7x7KkOhrioe6FSAf6RfsSORJFWk8SKE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708451621; c=relaxed/simple; bh=E0sF9V+OeFQ8gtlLiSNo8lKG76q/a1Bsao7zpK30erA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gJi1oRn45jpaveTVaiAf/3XjBFmT4Dp3RexWetdai8UslysPwciX8gbZ24UTyoGAqLQuBeZaFlobP1rhMu/9Q9swo4042JzSxMjB1kRhMs59jbKW6SDgSJdh0CWVJISelvQNwvYoHXO/cCV1AZf7435UWfc8MWTPHPF38jQdgZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Uyot1PdL; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708451620; x=1739987620; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=E0sF9V+OeFQ8gtlLiSNo8lKG76q/a1Bsao7zpK30erA=; b=Uyot1PdLZDUtyCXvb54rz1OiQ5NSssZHBpH7rMDoxEC37JcL8XasVtCl nZj/j16LPI+BAKw17BOT5n5lQrSzZOu6dxEB9EKKIPBi1NtHcZFMUuqzr 5zgqpRrn7cmcgY1ewQxv+WpiLW+g/g/3MLEgmRStS6+NvaQM3Kfy5poFT hJH51s2VaIkZVfZcOzFpe1P7cB1ET0s/Dre6XkdsVgZrPEC9V2Vnm9AhH geKhZrMAFxv7UqM4lMpExdbwwpKG5Tabxzq0VN1SBZMaLgYepD5F8acaw +24vohXWbcsRUp9OTif7QdDrIYmugkzCbk3Y0OFx+4LPVfy1F/JS5ikAA g==; X-IronPort-AV: E=McAfee;i="6600,9927,10990"; a="20007003" X-IronPort-AV: E=Sophos;i="6.06,174,1705392000"; d="scan'208";a="20007003" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 09:53:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10990"; a="936486300" X-IronPort-AV: E=Sophos;i="6.06,174,1705392000"; d="scan'208";a="936486300" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 20 Feb 2024 09:53:36 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id DE0A139A; Tue, 20 Feb 2024 19:53:34 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J. Wysocki" , Len Brown , Saravana Kannan Subject: [PATCH v2 1/1] driver core: Drop unneeded 'extern' keyword in fwnode.h Date: Tue, 20 Feb 2024 19:52:53 +0200 Message-ID: <20240220175333.3242277-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit We do not use 'extern' keyword with functions. Remove the last one mistakenly added to fwnode.h. Fixes: 19d0f5f6bff8 ("driver core: Add fw_devlink.strict kernel param") Signed-off-by: Andy Shevchenko --- v2: fixed a couple of typos in the Subject include/linux/fwnode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h index 2a72f55d26eb..2d23a14857c7 100644 --- a/include/linux/fwnode.h +++ b/include/linux/fwnode.h @@ -209,9 +209,9 @@ static inline void fwnode_dev_initialized(struct fwnode_handle *fwnode, fwnode->flags &= ~FWNODE_FLAG_INITIALIZED; } -extern bool fw_devlink_is_strict(void); int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup); void fwnode_links_purge(struct fwnode_handle *fwnode); void fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode); +bool fw_devlink_is_strict(void); #endif -- 2.43.0.rc1.1.gbec44491f096