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 1DBB2C6FD1C for ; Sun, 26 Mar 2023 17:01:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232406AbjCZRBJ (ORCPT ); Sun, 26 Mar 2023 13:01:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232459AbjCZRBH (ORCPT ); Sun, 26 Mar 2023 13:01:07 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D017D59F5 for ; Sun, 26 Mar 2023 10:01:02 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id w9so26656043edc.3 for ; Sun, 26 Mar 2023 10:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; t=1679850061; 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=bwW6oUpD5h8cj23E/vde86PKPUzMAEIVBwgEWSiD3uA=; b=maShE7hQ0xVsk01dePT8Gyl+ZzjKlPhD4CBzQJx8U5K+HL4vf+tAy2IyFHqgOLz7V9 4au6EfidxkbYOBa8mB01sV8TLc2+RaUbM7pcXwv9/41bu0u0LJ/X52M090WluCeG5pN2 3InXvbCpLGcWUlhj0jS8I53HT9I879VPJSOehlH9ERkRAOVvAEjSojNUOD8EUYXVjquN BnmnvLeF/HzvaFH9VAPlD1L0pzsFab6SabwqVfkTONYS0sANTpLe+QFACxNVzG88wAE7 EQjd9w37QGfEdTrng5xsesLYMOJbBaF8anaWikTSAOPEshw8p5gbTWutIohked+ICaOJ 3bNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679850061; 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=bwW6oUpD5h8cj23E/vde86PKPUzMAEIVBwgEWSiD3uA=; b=JO6JCcpfFqwTx8W3jX2Xi5WlLncG0hG+knd5Qhiq2LCSPlxJ0ihRmVRvhNlO0EQAEZ gP3wPGRCkU6rlu17mqFP9iAZ5k1n6+yNxV4opmxO5A+NUH0PnLcEzhhn0flSV0N6nzF6 Fr1dqlyidAnrWC90OuvvmsAizIgawI/lf7WjQ4ed+Ld1Z+Jsbr6LhZbGE1LNwCid/IlL puYwa5NFVB7bFIbBmpPYBlvCkOdTbWg6pyniPR7QZJz+5ddBSrPGpXYhZfmok/u9Eg7R eSbMTdT0cTfr0aIgd2qFQ0aDrXKfb1b7kM1CpYlU1/1g0FF7r5ubBQ0JsOq5oh/wsuQO hCXw== X-Gm-Message-State: AAQBX9c71W3q6clKuiyHvkPihbpZhviwLuRMtpwcS7joQXtzo5No14Nx vY5HiEZzUbl0rZCY4e3YOUdg4Q== X-Google-Smtp-Source: AKy350aAoyrIBElGGuBqNIPvfAlr7j+pHNViwWZzsB345Jd6yv4nK48yXBcBagk0NV05PxljKZpuCg== X-Received: by 2002:a17:906:578c:b0:88f:a236:69e6 with SMTP id k12-20020a170906578c00b0088fa23669e6mr9545337ejq.7.1679850061356; Sun, 26 Mar 2023 10:01:01 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id m27-20020a170906259b00b0093a3a663ebdsm7941215ejb.154.2023.03.26.10.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 10:01:00 -0700 (PDT) From: Jiri Pirko To: netdev@vger.kernel.org, arkadiusz.kubalewski@intel.com, vadim.fedorenko@linux.dev, vadfed@meta.com Cc: kuba@kernel.org, jonathan.lemon@gmail.com, pabeni@redhat.com, poros@redhat.com, mschmidt@redhat.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [patch dpll-rfc 5/7] dpll: export dpll_pin_notify() Date: Sun, 26 Mar 2023 19:00:50 +0200 Message-Id: <20230326170052.2065791-6-jiri@resnulli.us> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230326170052.2065791-1-jiri@resnulli.us> References: <20230312022807.278528-1-vadfed@meta.com> <20230326170052.2065791-1-jiri@resnulli.us> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Jiri Pirko Export dpll_pin_notify() as it is needed to be called from drivers. Signed-off-by: Jiri Pirko --- drivers/dpll/dpll_netlink.c | 1 + drivers/dpll/dpll_netlink.h | 3 --- include/linux/dpll.h | 4 ++++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/dpll/dpll_netlink.c b/drivers/dpll/dpll_netlink.c index 125dc3c7e643..cd77881ee1ec 100644 --- a/drivers/dpll/dpll_netlink.c +++ b/drivers/dpll/dpll_netlink.c @@ -1056,6 +1056,7 @@ int dpll_pin_notify(struct dpll_device *dpll, struct dpll_pin *pin, { return dpll_send_event_change(dpll, pin, NULL, attr); } +EXPORT_SYMBOL_GPL(dpll_pin_notify); int dpll_pin_parent_notify(struct dpll_device *dpll, struct dpll_pin *pin, struct dpll_pin *parent, enum dplla attr) diff --git a/drivers/dpll/dpll_netlink.h b/drivers/dpll/dpll_netlink.h index 072efa10f0e6..952e0335595e 100644 --- a/drivers/dpll/dpll_netlink.h +++ b/drivers/dpll/dpll_netlink.h @@ -20,9 +20,6 @@ int dpll_notify_device_create(struct dpll_device *dpll); */ int dpll_notify_device_delete(struct dpll_device *dpll); -int dpll_pin_notify(struct dpll_device *dpll, struct dpll_pin *pin, - enum dplla attr); - int dpll_pin_parent_notify(struct dpll_device *dpll, struct dpll_pin *pin, struct dpll_pin *parent, enum dplla attr); diff --git a/include/linux/dpll.h b/include/linux/dpll.h index be5717e1da99..562b9b7bd001 100644 --- a/include/linux/dpll.h +++ b/include/linux/dpll.h @@ -287,5 +287,9 @@ void dpll_pin_on_pin_unregister(struct dpll_pin *parent, struct dpll_pin *pin, */ int dpll_device_notify(struct dpll_device *dpll, enum dplla attr); +int dpll_pin_notify(struct dpll_device *dpll, struct dpll_pin *pin, + enum dplla attr); + + #endif -- 2.39.0