[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221103141233.20179-2-m.szyprowski@samsung.com>
Date: Thu, 3 Nov 2022 15:12:33 +0100
From: Marek Szyprowski <m.szyprowski@...sung.com>
To: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, devicetree@...r.kernel.org
Cc: Marek Szyprowski <m.szyprowski@...sung.com>,
Stefan Agner <stefan@...er.ch>,
Johan Hovold <johan@...nel.org>,
Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>
Subject: [PATCH 2/2] of: export of_device_add()
Export of_device_add() function to let DWC3 driver (Exynos variant) to
instantiate DWC3 core device from the respective child OF-node with a
custom, addtional properties added.
Signed-off-by: Marek Szyprowski <m.szyprowski@...sung.com>
---
drivers/of/device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/of/device.c b/drivers/of/device.c
index 8cefe5a7d04e..bc60c9b6863c 100644
--- a/drivers/of/device.c
+++ b/drivers/of/device.c
@@ -52,6 +52,7 @@ int of_device_add(struct platform_device *ofdev)
return device_add(&ofdev->dev);
}
+EXPORT_SYMBOL(of_device_add);
static void
of_dma_set_restricted_buffer(struct device *dev, struct device_node *np)
--
2.17.1
Powered by blists - more mailing lists