Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2983147rdb; Tue, 26 Dec 2023 11:27:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHirYIaapxjYfG9sLkG8H3IzdY096OjN3P7JBeLS20WEZUuQ+XLu16IXkTEbVCG4um67a7J X-Received: by 2002:a05:6512:3451:b0:50e:558e:123c with SMTP id j17-20020a056512345100b0050e558e123cmr2888004lfr.88.1703618866485; Tue, 26 Dec 2023 11:27:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703618866; cv=none; d=google.com; s=arc-20160816; b=d7XUGmlH8UVMENUQ4lv7HglEEiVWCf8DMi4wbiKXazh0FRusm7DGJe44MW8LBo8EZs oSZuIafR0l4H56mCHB6YUBe6QPmSkjMndEoCNSHUF0FYhlEG2UhEAQm4IT/a6WBxDffO igQ2ZrEGDpOlkBEs4RlDibzBp/2iDUdUd/6udNSftu+GVGGHGdhS0YKtLTpldwihNjF2 kvxT19SsCfz0ufcxO7Z3GvJJdcH3kl4TgxMMPhwa30k8IACPcjqGovVkbZetm7xd2Wgc yRgzvMrgb7dqdvyM61yLbz0azu3lqJ8/DK0GR1C9iHLZxym+pZRR1QHxJTsMb8AzW6Ky x9Aw== 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=hayCP5oXfqDKr07tFyakQH54fYrG+Ow3QZu0J2xcXzk=; fh=FhIBmivGh+/HThixXMqUjTaNW+MC6dbUYnVlU+d/OaA=; b=RjRxdgJR//5ZPDq9awkwFnd8devmnnU2jqyzLH5YZRmtsOokDW7C4fUOZk+7wJaRdw drHTY1KjKZH25i/M5onvKkPaq7JPTuZH2Me79fcK/BmPVYH3f1jfKlLHcsAw3UnFGiEa b6GQKnTGgm6mNup1dO1L+1NG4/VuxXRbqN6tLBLi0m116+i2D5C4GQeS0XrnN1RLnnTb Ob2EmP/0DWo+wJMC5YV+c6/SpFPgO/JiiwBgqt370ucDWhYvplcEmN7DN+jJxIC76eXf 5hk34uBGzQ/U74ArkcmB190VtgjCHWLaP1UD9p+cq4k9Y1BjAMaCd8V4YhgK7Wgw3xnn +rOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=StZuggUn; spf=pass (google.com: domain of linux-kernel+bounces-11650-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11650-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d2-20020a1709063ce200b00a26f3fdd3ccsi1714680ejh.1047.2023.12.26.11.27.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 11:27:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11650-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=StZuggUn; spf=pass (google.com: domain of linux-kernel+bounces-11650-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11650-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3C3D41F20A9C for ; Tue, 26 Dec 2023 19:27:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 124571DDC3; Tue, 26 Dec 2023 19:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="StZuggUn" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (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 042D31A5B6 for ; Tue, 26 Dec 2023 19:22:21 +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-f42.google.com with SMTP id ca18e2360f4ac-7bb0a93b7c7so5138839f.2 for ; Tue, 26 Dec 2023 11:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703618541; x=1704223341; 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=hayCP5oXfqDKr07tFyakQH54fYrG+Ow3QZu0J2xcXzk=; b=StZuggUnNz23lHyZFp6NWdfArrQBiAGQSLc2ZuHNMQ9vZwySx2fpfN9rh9h/CC0DFJ m8bGWASmvPi30tdz8wssd87MY2gqQg7UAXiFozlqSrNqgkHZsZSFk7wS/ZsiDOXq0rsg 3Y0XzraEOjVxpT9tyMlCNnapSpdok+QTf340A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703618541; x=1704223341; 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=hayCP5oXfqDKr07tFyakQH54fYrG+Ow3QZu0J2xcXzk=; b=VZ/P4kU7TDUBj3HoX167+I8nWNvdgJJcJagBpONFm4/bWVySFqrl2zSRyuUO+K0siX ahe27u8/S1dyhCEhqR+7VgWE4Q40XUivFsoR9GiTVBUky9Ub+OxGUyZNQykDi1k3BL+H fUAaN3JLpq/B1NwdX6EDuDkaRP/uhCWehtaGbnZMutTh3eVYiUCdJ9GO/rL2Cm9xTGQH QDkJ3Swz3B7//zaSlO71HiXP4r47xkW2jzzZ2xLTDY37ASqyb8NHDf+pn0jGSwoys3II 3sg1MBIZK03tD82aORT0FSyVI0h45GkQcZGzqsaEbqtNROi//kUqBw7ORLwdty49HGxh qaKw== X-Gm-Message-State: AOJu0YxN0sAtZL68mWwciIsuFSNgub4exmBKMtGN1dozVKjmtcJrZQBW fL0oQl5ZpP3lzEbtmyzWyPQ0OhzJa5psblAuQo+zIwK3/Cjj X-Received: by 2002:a6b:f008:0:b0:7b7:4c36:f295 with SMTP id w8-20020a6bf008000000b007b74c36f295mr9063772ioc.40.1703618541107; Tue, 26 Dec 2023 11:22:21 -0800 (PST) Received: from markhas1.lan (71-218-50-136.hlrn.qwest.net. [71.218.50.136]) by smtp.gmail.com with ESMTPSA id gw3-20020a0566381ee300b0046b692e719esm3207609jab.150.2023.12.26.11.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 11:22:20 -0800 (PST) From: Mark Hasemeyer To: LKML Cc: AngeloGioacchino Del Regno , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Sudeep Holla , Andy Shevchenko , 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 v3 22/24] device property: Update functions to use EXPORT_SYMBOL_GPL Date: Tue, 26 Dec 2023 12:21:26 -0700 Message-ID: <20231226122113.v3.22.I186bc5737c5ac4c3a5a7a91e9ec75645e723ca7b@changeid> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231226192149.1830592-1-markhas@chromium.org> References: <20231226192149.1830592-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 Signed-off-by: Mark Hasemeyer --- 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