Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6781567rdb; Tue, 2 Jan 2024 13:14:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpRjPpiQ0tDobG2+Apbsxh233Za7Vt9czb1X2gzdEKhlHrhvxTLhHH5IaWOVZxw5SHm0o/ X-Received: by 2002:ae9:ec0f:0:b0:781:c71c:3329 with SMTP id h15-20020ae9ec0f000000b00781c71c3329mr3752255qkg.104.1704230096737; Tue, 02 Jan 2024 13:14:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704230096; cv=none; d=google.com; s=arc-20160816; b=eprDKSDguL1DWRFu7dwUY6J04dB10W/lzi8LFhYnAt8pd/4RK/3T5EPagHCn31wFkG XEQQO1c6bmG3zpPCJ9ngYOWv42TLr2skZRQSg6f25pxdhSJ8EJ+WAhlaj6Uk8AMvGMPE JNKLxvgs6CaiZyQOLKrKKTOnoOsjzb+IwbVuyIMCb8NkFv9/7G54zBKdvOaKXLakvPqj hKqagVNrnT4aIarnoyHBu7GKJabIbsPa8LBiUdK6ZQiEIGC/wANXM1Zn469Ko61oiSC8 LiDw9uFubN1WQJDJNNErG/UzJWIoTfITDOZp5qPk8zLr6MTdCuapu1/TmGYCUovt/0SE OIQw== ARC-Message-Signature: i=1; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sCG4rEgr/FQR7hxUStyYKIoU69lpCt3KIAVsm7R5chw=; fh=7ED9cFxIzMb121hW6YnNsY862rb3fkYAGjskaOF/DEI=; b=lc9aY0QpEFqsGOG93eWbtG1sghqNrs08W0wj2UTgGz8NK8ObH5v2NqM5mvlTdkipIF jftOEEdWEllriYC1lKTuGE3V/Ho70Rn1jCtdYEixxvdQJiLics4rzajKQnp7NbOvP0UF 6N58iYkO84/JX9zddp443gcX+XxtfH6jH3vIBcg1KQLjvBft0ukWKQMQUi82h4Yo/LZ/ NNQx6/Z/prCGoN+1jndjcSoC5K+QqDdbpXF3YL1C13LxSAKZNwJ+OYhylMKBSYKXbQJ1 hhbxUMCMrV84ysKT3LTsJ27wea5dbMOyH2LcpV8nCB4iFINbXQFbqH2lhd74nhCPfVJb Pxtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HH7tFOjr; spf=pass (google.com: domain of linux-kernel+bounces-14846-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m13-20020a05620a214d00b007819b6ce48fsi9098005qkm.516.2024.01.02.13.14.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 13:14:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14846-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HH7tFOjr; spf=pass (google.com: domain of linux-kernel+bounces-14846-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3332B1C22BAD for ; Tue, 2 Jan 2024 21:14:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E2301A28A; Tue, 2 Jan 2024 21:09:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="HH7tFOjr" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.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 4A636199BE for ; Tue, 2 Jan 2024 21:09:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-7b7f2c72846so491266539f.2 for ; Tue, 02 Jan 2024 13:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704229743; x=1704834543; 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=sCG4rEgr/FQR7hxUStyYKIoU69lpCt3KIAVsm7R5chw=; b=HH7tFOjrAQTrdWIDJwg39s5pkcy+elPqqdPyYMArPhsxRixM6h/JAHq2NBec+JYJFq FTxNbr7+7HxnH6nIBXll3KHOSWFKmb+e2ZSYN6iUv/i8s3ZhVyaO0l1Oxxt6C/22osve gvQJlJC5UXoxyrkSr6+QTVvy+fITN4RdMHCdw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704229743; x=1704834543; 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=sCG4rEgr/FQR7hxUStyYKIoU69lpCt3KIAVsm7R5chw=; b=e7+OFnxzdL9O6o4Re7IFq0OAJPfvlL9RixD1edDMhkPiknVepAQ2D050CDxKPKnSDp iTR0I0ui67T2QdBJJ2mAUhnKBkRWwMJgk9+DMZaxvJZbk9utjTyxCA4c9Jg0BvmbQw1Z NIV6fjeKm7OaSnjuE5nAflC6bNrkMhV435uPyA+vhnyaOwrdK+6gWttGU0r/9pb3Vjpf oLLPysy8GiKZc5BvFDqWqEKJxaObfL5T0WuEdTqRJwjgvVx7Ue0rgz2Uw6Uy+2tHM9mP ww+dioow60aMviCYBqkJg8JxVxQBy3PdlIVjIF1nF1W8gn6uXlz5NIymi9chksWqLCEp zZJg== X-Gm-Message-State: AOJu0Yw8FkTaNdajUiIVtiXDJHtniX2snjho0GpW5xZxVFw/4Km++csW pNR2SAU38NnRwNqJn8CY/pz4yHgnor/cSld21k9PY0ulM+rd X-Received: by 2002:a6b:c996:0:b0:7b7:fe2f:dddd with SMTP id z144-20020a6bc996000000b007b7fe2fddddmr18896089iof.22.1704229743320; Tue, 02 Jan 2024 13:09:03 -0800 (PST) Received: from markhas1.lan (71-218-50-136.hlrn.qwest.net. [71.218.50.136]) by smtp.gmail.com with ESMTPSA id bo18-20020a056638439200b0046993034c91sm6956978jab.77.2024.01.02.13.09.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 13:09:03 -0800 (PST) From: Mark Hasemeyer To: LKML Cc: Sudeep Holla , AngeloGioacchino Del Regno , Rob Herring , Andy Shevchenko , Krzysztof Kozlowski , Konrad Dybcio , Raul Rangel , Tzung-Bi Shih , Mark Hasemeyer , Sakari Ailus , Andy Shevchenko , Daniel Scally , Greg Kroah-Hartman , Heikki Krogerus , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org Subject: [PATCH v4 22/24] device property: Update functions to use EXPORT_SYMBOL_GPL() Date: Tue, 2 Jan 2024 14:07:46 -0700 Message-ID: <20240102140734.v4.22.I186bc5737c5ac4c3a5a7a91e9ec75645e723ca7b@changeid> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20240102210820.2604667-1-markhas@chromium.org> References: <20240102210820.2604667-1-markhas@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Some of the exported functions use EXPORT_SYMBOL() instead of EXPORT_SYMBOL_GPL() and are inconsistent with the other exported functions in the module. The underlying APCI/OF struct fwnode_operations implementations are also exported via EXPORT_SYMBOL_GPL(). Update them to use the EXPORT_SYMBOL_GPL() macro. Suggested-by: Sakari Ailus Reviewed-by: Andy Shevchenko Signed-off-by: Mark Hasemeyer --- Changes in v4: -EXPORT_SYMBOL->EXPORT_SYMBOL() -Add Andy's Reviewed-by tag Changes in v3: -New patch drivers/base/property.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/base/property.c b/drivers/base/property.c index 441899171d19d..4f686516cac82 100644 --- a/drivers/base/property.c +++ b/drivers/base/property.c @@ -1044,7 +1044,7 @@ void __iomem *fwnode_iomap(struct fwnode_handle *fwnode, int index) { return fwnode_call_ptr_op(fwnode, iomap, index); } -EXPORT_SYMBOL(fwnode_iomap); +EXPORT_SYMBOL_GPL(fwnode_iomap); /** * fwnode_irq_get_resource - Get IRQ directly from a fwnode and populate @@ -1082,7 +1082,7 @@ int fwnode_irq_get(const struct fwnode_handle *fwnode, unsigned int index) return fwnode_irq_get_resource(fwnode, index, &r); } -EXPORT_SYMBOL(fwnode_irq_get); +EXPORT_SYMBOL_GPL(fwnode_irq_get); /** * fwnode_irq_get_byname - Get IRQ from a fwnode using its name @@ -1110,7 +1110,7 @@ int fwnode_irq_get_byname(const struct fwnode_handle *fwnode, const char *name) return fwnode_irq_get(fwnode, index); } -EXPORT_SYMBOL(fwnode_irq_get_byname); +EXPORT_SYMBOL_GPL(fwnode_irq_get_byname); /** * fwnode_graph_get_next_endpoint - Get next endpoint firmware node @@ -1355,7 +1355,7 @@ int fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode, return fwnode_call_int_op(fwnode, graph_parse_endpoint, endpoint); } -EXPORT_SYMBOL(fwnode_graph_parse_endpoint); +EXPORT_SYMBOL_GPL(fwnode_graph_parse_endpoint); const void *device_get_match_data(const struct device *dev) { -- 2.43.0.472.g3155946c3a-goog