From patchwork Mon Jun 24 20:10:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 13710016 Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1268E38DE4 for ; Mon, 24 Jun 2024 20:10:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719259850; cv=none; b=qncU5FLQyB0KNIDASao/qE2mkW9exj3dC+8MaEOCISoKb5kbL100yKtJIavUhNkW/02DlBdgEgH8n02AqlMjmSSjRPJR9mRLVSymWqrEW+Ws2jt7r1c6LMv78GX34pArZobAx7UmkzZcJcQczwJ3U1pKWdvyzEKeH0pGdGtzeHU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719259850; c=relaxed/simple; bh=gwveKsBVtN7JFtmU94y848i/o5pT/Jhq2LKbTqkccp4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ODA/cNaNzYG5Eg7XmEStQHzXRnx0X+JgQ1R2JWUMCCmf8tBSeDwJR8v+C1yqJhNvL8sLATOhCR2NPXdV1InFM9QrE1AzeFX8+ifou+K3M91F3EF3kKB4AADWabCqsmW9mljztisAOe46C2vuPBkneL2t09KSKB3MSxAxbb6V20s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=fkzpX3pd; arc=none smtp.client-ip=209.85.160.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="fkzpX3pd" Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-25c9af0102cso2516001fac.0 for ; Mon, 24 Jun 2024 13:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1719259848; x=1719864648; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pynIwSYLtFCFqE/LQh0xYvfYgPBDJkazLg5naxF4gSA=; b=fkzpX3pdQsNMGXaaXbgrCM8rgVlEgWID9r2Jw7nTTqnKu3J4VtKfnXp+CRGTMijmvN xt+KtfzfapDKixaeOzyaZBxbPARuoxrdtVpjPkj2ED1I6U5iaaoWF6LlFP06XotfCEhp b26CvwuJ9XHtbBQMlAAKK3PtQbdg4/wt+ZTOr0m5wN6eP7jM8uBEsZ7bB6pV7A8qptCc d/5U5wTN9GRifeOzHQOnk5a3d3r+4WrwT1PyKHZFG95l27UbXhHqsfctbWTrz4g7beCR PYJt8w0Fn2WxUeLQ0bhYyZRK3WZB+21FxMAGTUzS6DLT7eKDo3sx4iuLVAU5CEmhNdSq FbzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719259848; x=1719864648; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pynIwSYLtFCFqE/LQh0xYvfYgPBDJkazLg5naxF4gSA=; b=FCoBIbdoS3uLZXV1nrYKoo09SawI986tds3xKPCHVBdCT+5ASV8GQI8zVFSxXeuudk hiV+GZFGcwB3ydds0fCKt+f5eRvjkAAvtdlV7mTkVPFyEYkNuLY0w7THR7wazzVsp4sV 5+ThGDjVt/uX31fO46xG/nHNFLjnjHyPMoWvdRqYOxWahEN3F5KlU6W2ynYwKMXLrDCa pZQBprIgkYZNgC5cU1GD22DjK76zWEwGsJ8ugtMlJQSh2uxOFXfuvGd2zy//Q4sl4ljj aWxBZ5eGlYwb0drAq2aH29cdtnYqY4nvvxvakwIcxlrseScRiMlzaxjRpUJ91lxF9bI/ mFUw== X-Forwarded-Encrypted: i=1; AJvYcCVDd5zNMRtm+fmn3mps5m9qEeH7AgII9NczfDMpkuupARNLc8Pj3Dh0nPMhKaGNN8BCGR9iD6Nmw7Xhu7e05N7CsvNtfbLwSVeu X-Gm-Message-State: AOJu0YwpJ+bhBxVkgol43V+a4vH4I0I9tp8f7EDjpWfwxJO6KzBqDFf1 TXmX8t0/Emuk9XMjzgQ0qgfoIswvfezbkG6z6xI7GO/3bW0sRj6MYnpG+bTQsEo= X-Google-Smtp-Source: AGHT+IHRPUfp+ZBPyKVGnp8PYVSyxPlPBcZpQHC+Oj3KSMk2tSXxZxcaP2yg1g1kDGwwn06PCl+SEA== X-Received: by 2002:a05:6870:40c8:b0:250:7a8d:1756 with SMTP id 586e51a60fabf-25d0163e8d0mr6380388fac.12.1719259848112; Mon, 24 Jun 2024 13:10:48 -0700 (PDT) Received: from freyr.lechnology.com (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-25cd498872csm2056581fac.21.2024.06.24.13.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 13:10:47 -0700 (PDT) From: David Lechner To: Mark Brown , Jonathan Cameron Cc: David Lechner , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , Marcelo Schmitt , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-iio@vger.kernel.org Subject: [PATCH v2 1/2] spi: add EXPORT_SYMBOL_GPL(devm_spi_optimize_message) Date: Mon, 24 Jun 2024 15:10:30 -0500 Message-ID: <20240624-devm_spi_optimize_message-v2-1-58155c0180c2@baylibre.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240624-devm_spi_optimize_message-v2-0-58155c0180c2@baylibre.com> References: <20240624-devm_spi_optimize_message-v2-0-58155c0180c2@baylibre.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mailer: b4 0.12.4 devm_spi_optimize_message() is a public function and needs EXPORT_SYMBOL_GPL. Reported-by: Jonathan Cameron Closes: https://lore.kernel.org/linux-iio/20240624204424.6a91a5e4@jic23-huawei/ Fixes: 17436001a6bc ("spi: add devm_spi_optimize_message() helper") Signed-off-by: David Lechner --- drivers/spi/spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 3f953504244b..814d66fc9753 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -4384,6 +4384,7 @@ int devm_spi_optimize_message(struct device *dev, struct spi_device *spi, return devm_add_action_or_reset(dev, devm_spi_unoptimize_message, msg); } +EXPORT_SYMBOL_GPL(devm_spi_optimize_message); /** * spi_async - asynchronous SPI transfer