bes2600: export bus_reset helpers for danctnix bes2600_btuart (danctnix-flavor)
bes2600_chrdev_do_bus_reset() and bes2600_chrdev_trigger_bus_reset() are already present (added by the connection-loss bus_reset commit) but not exported. danctnix's bes2600_btuart.c uses these symbols for BT power switching and bus-error recovery; without EXPORT_SYMBOL_GPL the btuart module cannot be built as a separate object in the intree staging tree. The userspace /dev/bes2600 chardev remains intact for danctnix — btuart depends on the internal chardev state machine. This commit is danctnix-specific; the Mobian DKMS flavor does not need the exports. Signed-off-by: Claude (noether) <claude@reauktion.de>
This commit is contained in:
@@ -1116,6 +1116,7 @@ int bes2600_chrdev_do_bus_reset(const struct sbus_ops *sbus_ops, struct sbus_pri
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(bes2600_chrdev_do_bus_reset);
|
||||
|
||||
/*
|
||||
* Trigger bes2600_chrdev_do_bus_reset() against the file-global
|
||||
@@ -1128,6 +1129,7 @@ int bes2600_chrdev_trigger_bus_reset(void)
|
||||
return bes2600_chrdev_do_bus_reset(bes2600_cdev.sbus_ops,
|
||||
bes2600_cdev.sbus_priv);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(bes2600_chrdev_trigger_bus_reset);
|
||||
|
||||
bool bes2600_chrdev_is_wifi_opened(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user