Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp779722ybe; Fri, 6 Sep 2019 07:13:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfJ0CCl2m9xtzfF/h8v5Q3hkrU8Vzuco9Bj9srtn/AuWAzNT05Z0+LyiGzQITr/jn4wbkd X-Received: by 2002:a63:eb06:: with SMTP id t6mr8073807pgh.107.1567779229877; Fri, 06 Sep 2019 07:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567779229; cv=none; d=google.com; s=arc-20160816; b=eq+1cxpf8vwZy/thshhS2UH38Hb22rAHguztyRyGWwVLeGs5fk/QKjAxQlk2mbgFP8 xWr1pwt48TvZGcrJ98wrnMOW2b8zEwVgfqIsHj6gKgZxWZtJZvnGXcWcphcv82xWyoVR RoU7UW/sjB8uun6hBWVUavQjha6rNHHhndrutX17RDxpne4CdTdwUbkVRjKNBtWDu5Hn F49/W950ieeA16yoMfmqAJpfCp0XjUqYA30i6DgQIR54ZNjXUbVKso0pMW1tP3hM06wh 70S6blSOYndpcTHlIdW6nuBL0Hgsp4kMfRRSwlu9USmc2ujyQ6w5XkSed9WgtH7U2kD3 RUvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=tPdOp6cWzfmGT/cQw0BIWfxqGXtpyjHhR9qpB+uGSVc=; b=Tm220W04c0wmHPvlRU1g5sNmZLZyvbo+316wFajZvmx0UxT1bk9cnRAn7SMvCAg7Mk l79Y7F5anUkfbl3bkVCp0vXOnWgiFOjG9UoOMRd14e9sS/jdkqmFN9EHyPks/VyRxqFf 2mJirDrwqKX7szn76VqVKUmU3jCIQamOgDtntP3frp12Nix/Jx3j8QY0i0edrblluyZw nFjtVeQNlHtmvRcomoU29ha4a6RmeTtZkC+7Bt7KquyXX7wc6ZgG4e5ZYVLpBB6VA/Bl ReNwoExRGKQVehoZA0mvTNnGcLlkktI/sjEFaMMAf50xjq6NTZP6vkVzmCeXFsjpJvpK sYkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c17si3959653pfi.95.2019.09.06.07.13.32; Fri, 06 Sep 2019 07:13:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392601AbfIFIpu (ORCPT + 99 others); Fri, 6 Sep 2019 04:45:50 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:57794 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391715AbfIFIpo (ORCPT ); Fri, 6 Sep 2019 04:45:44 -0400 Received: from ramsan ([84.194.98.4]) by michel.telenet-ops.be with bizsmtp id y8lh2000805gfCL068lhD3; Fri, 06 Sep 2019 10:45:43 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1i69sC-0003N7-Vj; Fri, 06 Sep 2019 10:45:40 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1i69sC-0005h9-UA; Fri, 06 Sep 2019 10:45:40 +0200 From: Geert Uytterhoeven To: Linus Walleij , Bartosz Golaszewski Cc: Rob Herring , Frank Rowand , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 3/4] gpio: of: Switch to EXPORT_SYMBOL_GPL() Date: Fri, 6 Sep 2019 10:45:38 +0200 Message-Id: <20190906084539.21838-4-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190906084539.21838-1-geert+renesas@glider.be> References: <20190906084539.21838-1-geert+renesas@glider.be> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All exported functions provide genuine Linux-specific functionality. Signed-off-by: Geert Uytterhoeven --- drivers/gpio/gpiolib-of.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index fad3aad667558325..7aea6d0f3ace9b82 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -274,7 +274,7 @@ int of_get_named_gpio_flags(struct device_node *np, const char *list_name, else return desc_to_gpio(desc); } -EXPORT_SYMBOL(of_get_named_gpio_flags); +EXPORT_SYMBOL_GPL(of_get_named_gpio_flags); /** * gpiod_get_from_of_node() - obtain a GPIO from an OF node @@ -343,7 +343,7 @@ struct gpio_desc *gpiod_get_from_of_node(struct device_node *node, return desc; } -EXPORT_SYMBOL(gpiod_get_from_of_node); +EXPORT_SYMBOL_GPL(gpiod_get_from_of_node); /* * The SPI GPIO bindings happened before we managed to establish that GPIO @@ -719,7 +719,7 @@ int of_mm_gpiochip_add_data(struct device_node *np, pr_err("%pOF: GPIO chip registration failed with status %d\n", np, ret); return ret; } -EXPORT_SYMBOL(of_mm_gpiochip_add_data); +EXPORT_SYMBOL_GPL(of_mm_gpiochip_add_data); /** * of_mm_gpiochip_remove - Remove memory mapped GPIO chip (bank) @@ -736,7 +736,7 @@ void of_mm_gpiochip_remove(struct of_mm_gpio_chip *mm_gc) iounmap(mm_gc->regs); kfree(gc->label); } -EXPORT_SYMBOL(of_mm_gpiochip_remove); +EXPORT_SYMBOL_GPL(of_mm_gpiochip_remove); static void of_gpiochip_init_valid_mask(struct gpio_chip *chip) { -- 2.17.1