From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9083EC25B08 for ; Wed, 10 Aug 2022 11:58:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232101AbiHJL6b (ORCPT ); Wed, 10 Aug 2022 07:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbiHJL63 (ORCPT ); Wed, 10 Aug 2022 07:58:29 -0400 Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BFD082FB0; Wed, 10 Aug 2022 04:58:28 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id n8so22910179yba.2; Wed, 10 Aug 2022 04:58:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=9JfEXzMfTVhBDtMwX1BN6FvfajX+PQlhsv3StGgPVb8=; b=jJB4IWtjqPXUxg9OSUQwxC311sMqioUSXU1pPhSzV9LoW+WPq767YdKr6tfu2tabm4 Cz9wCEy05J4/fXagJngDkuZ0p3tJS78cmRgfIngu18TLZ0eYTePR6yc2yAa/M5UUP5TH FG+KQ9EXD7tIDil9rZKP9Nek0heKZiyXrv6JdoiCY4Nv5luBoyWP+iCfm0YcRd4lhnC1 DUHt6Xi52oq4yeYp43y6/V7ojQ74R3ccQqnNLTzBVKKrorcPLLWniyOqWo+X+WFW3g2O 3gd8Jg/7irXdRmLSI4V2S9JzYXsvJ1il4MkJkTBpD6+b1PP/GyNpGZ3mXBZFF5WGYEUl H6iA== X-Gm-Message-State: ACgBeo0nzIFBFmVdbPHWOOJsXkf7iDMLakJ1/HD4iZdr5ekXi9f0zzuY aTSyTf6W3rUbzX3B0njles4YKzqJSLVzBsNmnR0= X-Google-Smtp-Source: AA6agR51DXRic5c2iVTQUsTfKSb8eitFjRfO/qijCuvkAKyoV4mVlvBjWayvltMVuTJJPkSWi/YA7mjcqIMl5wS0OwM= X-Received: by 2002:a25:24ca:0:b0:67c:439f:1d59 with SMTP id k193-20020a2524ca000000b0067c439f1d59mr2477278ybk.81.1660132707603; Wed, 10 Aug 2022 04:58:27 -0700 (PDT) MIME-Version: 1.0 References: <20220810100731.749317-1-daniel.lezcano@linaro.org> In-Reply-To: <20220810100731.749317-1-daniel.lezcano@linaro.org> From: "Rafael J. Wysocki" Date: Wed, 10 Aug 2022 13:58:15 +0200 Message-ID: Subject: Re: [PATCH] thermal/core: Add missing EXPORT_SYMBOL_GPL To: Daniel Lezcano Cc: "Rafael J. Wysocki" , Amit Kucheria , Zhang Rui , "open list:THERMAL" , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 10, 2022 at 12:07 PM Daniel Lezcano wrote: > > The function thermal_zone_device_register_with_trips() is not exported > for modules. > > Add the missing EXPORT_SYMBOL_GPL(). > > Signed-off-by: Daniel Lezcano A Fixes tag missing? > --- > drivers/thermal/thermal_core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c > index b4c68410c158..10c979dce512 100644 > --- a/drivers/thermal/thermal_core.c > +++ b/drivers/thermal/thermal_core.c > @@ -1329,6 +1329,7 @@ thermal_zone_device_register_with_trips(const char *type, struct thermal_trip *t > kfree(tz); > return ERR_PTR(result); > } > +EXPORT_SYMBOL_GPL(thermal_zone_device_register_with_trips); > > struct thermal_zone_device *thermal_zone_device_register(const char *type, int ntrips, int mask, > void *devdata, struct thermal_zone_device_ops *ops, > -- > 2.34.1 >