git: 80b9b4dacd65 - releng/14.2 - gpiospi: Fix module dependencies.

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 19 Nov 2024 17:53:46 UTC
The branch releng/14.2 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=80b9b4dacd6524ada5919f8af62a18719ebe62ed

commit 80b9b4dacd6524ada5919f8af62a18719ebe62ed
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 17:53:16 +0000

    gpiospi: Fix module dependencies.
    
    Approved by:    re (cperciva)
    MFC after:      3 days
    Reviewed by:    ray
    Differential Revision:  https://reviews.freebsd.org/D47570
    
    (cherry picked from commit 79af8f72b3aff993703778423e83320df0953a37)
    (cherry picked from commit 3bcbd391dd7e1376ab7ad37e94f5b746abfc0591)
---
 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);