summaryrefslogtreecommitdiff
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2025-09-19 12:09:56 +0200
committerTom Rini <[email protected]>2025-09-26 11:55:13 -0600
commit475a72f6471194633fd85a813547bebe846611e0 (patch)
treeedb086568b4b26aeaee80584d4da6ffa7439a0b2 /scripts/kernel-doc
parent0933358163a3c0ef13577853194769504cfb39ea (diff)
_exports.h: simplify condition for including spi functions
As for the i2c functions, drop the dummy entries that, if ever used, would just have the standalone app get some random content in the return register. While deprecated, the spi_{setup,free}_slave functions do exist even with CONFIG_DM_SPI - and a standalone app can't really do anything but refer to a spi device via a (bus, cs) pair. Eventually, one should probably export some function that could allow a standalone app to get a struct udevice* corresponding to either a full DT path, an alias, or perhaps a label (provided one builds with -@), and then export functions that can operate on that. Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions