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-next>] [day] [month] [year] [list]
Message-Id: <20210713081255.17308-1-alice.guo@oss.nxp.com>
Date:   Tue, 13 Jul 2021 16:12:55 +0800
From:   "Alice Guo (OSS)" <alice.guo@....nxp.com>
To:     linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
        rafael@...nel.org
Subject: [PATCH v1] base: soc: export soc_device_to_device API

From: Alice Guo <alice.guo@....com>

Driver which uses soc_device_to_device needs to be built as a module, so
export this API.

Signed-off-by: Alice Guo <alice.guo@....com>
---
 drivers/base/soc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/base/soc.c b/drivers/base/soc.c
index 0af5363a582c..6b3db25611ee 100644
--- a/drivers/base/soc.c
+++ b/drivers/base/soc.c
@@ -41,6 +41,7 @@ struct device *soc_device_to_device(struct soc_device *soc_dev)
 {
 	return &soc_dev->dev;
 }
+EXPORT_SYMBOL_GPL(soc_device_to_device);
 
 static umode_t soc_attribute_mode(struct kobject *kobj,
 				struct attribute *attr,
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ