git: 5d7079bedcca - stable/13 - gpiospi: Fix module dependencies.

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

URL: https://cgit.FreeBSD.org/src/commit/?id=5d7079bedcca72fd2ab14b2bf1df914234050dd5

commit 5d7079bedcca72fd2ab14b2bf1df914234050dd5
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:25 +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 678dfaa70764..c453406ab767 100644
--- a/sys/dev/gpio/gpiospi.c
+++ b/sys/dev/gpio/gpiospi.c
@@ -398,5 +398,5 @@ static devclass_t gpio_spi_devclass;
 
 DRIVER_MODULE(gpiospi, gpiobus, gpio_spi_driver, gpio_spi_devclass, 0, 0);
 DRIVER_MODULE(spibus, gpiospi, spibus_driver, spibus_devclass, 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);