lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230326170052.2065791-6-jiri@resnulli.us>
Date:   Sun, 26 Mar 2023 19:00:50 +0200
From:   Jiri Pirko <jiri@...nulli.us>
To:     netdev@...r.kernel.org, arkadiusz.kubalewski@...el.com,
        vadim.fedorenko@...ux.dev, vadfed@...a.com
Cc:     kuba@...nel.org, jonathan.lemon@...il.com, pabeni@...hat.com,
        poros@...hat.com, mschmidt@...hat.com,
        linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org
Subject: [patch dpll-rfc 5/7] dpll: export dpll_pin_notify()

From: Jiri Pirko <jiri@...dia.com>

Export dpll_pin_notify() as it is needed to be called from drivers.

Signed-off-by: Jiri Pirko <jiri@...dia.com>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ