]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
soundwire: Add missing EXPORT for sdw_slave_type
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 12 Jan 2026 14:07:56 +0000 (14:07 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2026 13:35:17 +0000 (13:35 +0000)
include/sdw_type.h provides the function is_sdw_slave() which
requires sdw_slave_type. But sdw_slave_type was not exported.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260112140758.215799-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soundwire/slave.c

index 3d4d00188c26cc3a8e356f10332b134904a524e6..d933cebad52b43e4bfd8d0df9fb8c860bb9aac3c 100644 (file)
@@ -23,6 +23,7 @@ const struct device_type sdw_slave_type = {
        .release =      sdw_slave_release,
        .uevent =       sdw_slave_uevent,
 };
+EXPORT_SYMBOL_GPL(sdw_slave_type);
 
 int sdw_slave_add(struct sdw_bus *bus,
                  struct sdw_slave_id *id, struct fwnode_handle *fwnode)