Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5405944pxb; Sun, 13 Feb 2022 20:23:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2ikxS9PZK5FS2CvFOLkK/kHlG2ZqnBkRDPDBxBgnPW1OzlAwE7+NvJWlrHu8uI+ceG1Ib X-Received: by 2002:a05:6a00:114e:: with SMTP id b14mr12742449pfm.31.1644812614372; Sun, 13 Feb 2022 20:23:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644812614; cv=none; d=google.com; s=arc-20160816; b=0HXnoKSgfYjILRRjbMEqDgCwlClI80xDKHiP4r1QG6mmnpLvkZXAR24jWcJMKX+dWF UDwMvHE+MEo59GFHZhXf7031V9v0Feqi+Ziuzf9TKQ8oIeQ/nrDKhVLrzNTgGGUPbux2 2nc6RZvppfdr3JOnBFkGOd/0FU13ooljpsvVFd18AFmxuduArSrsmyRCsbhRqhuO6JXU yAkkKktHmURmS6fihgl8qfaiWEk7fxZs53PED+eJcXroQ2Y0rwv7vAKDG5SzvFWVMZeg 0y877zGX1AugdqS8pOurZZkIt0UbOPkWj6M6pakKy3KD97Lo5azxrCDKU6jF2J7waEwN 9q/g== 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=7mkWCxLrplVkkoBQ+yjw/ZRC+lyh2802qNoYkYFx/w0=; b=l7pLRYiwnJUVQvYfbujehNQpgetozqJyj1yQxVainXzD5pz7ZGGEVR9xE1//8lKc1C pTrDI6lvKv1GOgVcwhrQbKo2Y5LRtBR/g2FSokW25cAuwe/xlga8UxH87OYL91RbpKvV TZQS81AHq2rgBB7u+vS0ZmCsZ6rO5xYO63+oeurhfYPY8QNh3l0ubV8WsIczmTan/h0y /IvayQGb+L0L2F/wwB/G7LReji2qs7okTOOhEW2YTxrBzSFr0AmOWh67X0U/OXw9dTep q/ga692n2AVwI5HA/cmXVwIRwT/eiU6KUH/rjPbEaHILaYtQE3Kc48+zqdoYdM1gPpwc E1ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@o2.pl header.s=1024a header.b=L3nLAq3y; 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=o2.pl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1si2185995pgj.690.2022.02.13.20.23.15; Sun, 13 Feb 2022 20:23:34 -0800 (PST) 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 (test mode) header.i=@o2.pl header.s=1024a header.b=L3nLAq3y; 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=o2.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235144AbiBLM7U (ORCPT + 99 others); Sat, 12 Feb 2022 07:59:20 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:53372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbiBLM7T (ORCPT ); Sat, 12 Feb 2022 07:59:19 -0500 Received: from mx-out.tlen.pl (mx-out.tlen.pl [193.222.135.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D05E526543 for ; Sat, 12 Feb 2022 04:59:16 -0800 (PST) Received: (wp-smtpd smtp.tlen.pl 37559 invoked from network); 12 Feb 2022 13:59:13 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1644670754; bh=7mkWCxLrplVkkoBQ+yjw/ZRC+lyh2802qNoYkYFx/w0=; h=From:To:Cc:Subject; b=L3nLAq3y/T3Yqh32CU4ZQ/Hv8f9xGmTdD1tkzgn7uigvjuCAW+tzw97iiyGiC4Vl0 D07FZ2BQ0LIB+xuwEUzmfVl+DoxalcPhsaoPX55IeR/4nmXnEQ0p2oxFQ5ipLxtZfU syMUmWJrwTb6M+kLGWzxa4/5VJQXs3be02Ez6bHY= Received: from aaem217.neoplus.adsl.tpnet.pl (HELO localhost.localdomain) (mat.jonczyk@o2.pl@[83.4.116.217]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with SMTP for ; 12 Feb 2022 13:59:13 +0100 From: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= To: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Cc: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= , Stuart Hayes , Hans de Goede , Mark Gross Subject: [PATCH] platform/dcdbas: move EXPORT_SYMBOL after function Date: Sat, 12 Feb 2022 13:59:08 +0100 Message-Id: <20220212125908.357588-1-mat.jonczyk@o2.pl> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-WP-MailID: 301aa98afc16f94db36962caeb208f5b X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [MeOk] X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 The declaration EXPORT_SYMBOL(dcdbas_smi_request); was placed after smi_request_store(), which made a false impression that dcdbas_smi_request() was not exported. Signed-off-by: Mateusz Jończyk Cc: Stuart Hayes Cc: Hans de Goede Cc: Mark Gross --- drivers/platform/x86/dell/dcdbas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell/dcdbas.c b/drivers/platform/x86/dell/dcdbas.c index 5e63d6225048..db3633fafbd5 100644 --- a/drivers/platform/x86/dell/dcdbas.c +++ b/drivers/platform/x86/dell/dcdbas.c @@ -284,6 +284,7 @@ int dcdbas_smi_request(struct smi_cmd *smi_cmd) return ret; } +EXPORT_SYMBOL(dcdbas_smi_request); /** * smi_request_store: @@ -351,7 +352,6 @@ static ssize_t smi_request_store(struct device *dev, mutex_unlock(&smi_data_lock); return ret; } -EXPORT_SYMBOL(dcdbas_smi_request); /** * host_control_smi: generate host control SMI -- 2.25.1