git: 3bcbd391dd7e - stable/14 - gpiospi: Fix module dependencies.

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 19 Nov 2024 11:40:53 UTC
The branch stable/14 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=3bcbd391dd7e1376ab7ad37e94f5b746abfc0591

commit 3bcbd391dd7e1376ab7ad37e94f5b746abfc0591
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-11-15 05:53:30 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-11-19 11:40:29 +0000

    gpiospi: Fix module dependencies.
    
    MFC after:      3 days
    Reviewed by:    ray
    Differential Revision:  https://reviews.freebsd.org/D47570
    
    (cherry picked from commit 79af8f72b3aff993703778423e83320df0953a37)
---
 sys/dev/gpio/gpiospi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/gpio/gpiospi.c b/sys/dev/gpio/gpiospi.c
index 15517f74f0b3..682ee5e0c176 100644
--- a/sys/dev/gpio/gpiospi.c
+++ b/sys/dev/gpio/gpiospi.c
@@ -396,5 +396,5 @@ static driver_t gpio_spi_driver = {
 
 DRIVER_MODULE(gpiospi, gpiobus, gpio_spi_driver, 0, 0);
 DRIVER_MODULE(spibus, gpiospi, spibus_driver, 0, 0);
-MODULE_DEPEND(spi, gpiospi, 1, 1, 1);
-MODULE_DEPEND(gpiobus, gpiospi, 1, 1, 1);
+MODULE_DEPEND(gpiospi, spibus, 1, 1, 1);
+MODULE_DEPEND(gpiospi, gpiobus, 1, 1, 1);