Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Richard Fitzgerald and committed by
Mark Brown
1ddbcb91 0f61b186

+1
+1
drivers/soundwire/slave.c
··· 23 23 .release = sdw_slave_release, 24 24 .uevent = sdw_slave_uevent, 25 25 }; 26 + EXPORT_SYMBOL_GPL(sdw_slave_type); 26 27 27 28 int sdw_slave_add(struct sdw_bus *bus, 28 29 struct sdw_slave_id *id, struct fwnode_handle *fwnode)