Skip to content

Commit 1ddbcb9

Browse files
rfvirgilbroonie
authored andcommitted
soundwire: Add missing EXPORT for sdw_slave_type
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>
1 parent 0f61b18 commit 1ddbcb9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/soundwire/slave.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const struct device_type sdw_slave_type = {
2323
.release = sdw_slave_release,
2424
.uevent = sdw_slave_uevent,
2525
};
26+
EXPORT_SYMBOL_GPL(sdw_slave_type);
2627

2728
int sdw_slave_add(struct sdw_bus *bus,
2829
struct sdw_slave_id *id, struct fwnode_handle *fwnode)

0 commit comments

Comments
 (0)