git: 79af8f72b3af - main - gpiospi: Fix module dependencies.

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Fri, 15 Nov 2024 05:55:36 UTC
The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=79af8f72b3aff993703778423e83320df0953a37

commit 79af8f72b3aff993703778423e83320df0953a37
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-15 05:55:14 +0000

    gpiospi: Fix module dependencies.
    
    MFC after:      3 days
    Reviewed by:    ray
    Differential Revision:  https://reviews.freebsd.org/D47570
---
 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 1f58e7c79ce3..60307e4328af 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);