gpiospi: Fix module dependencies.

MFC after:	3 days
Reviewed by:	ray
Differential Revision:	https://reviews.freebsd.org/D47570
This commit is contained in:
Dag-Erling Smørgrav 2024-11-15 06:53:30 +01:00
parent dfa0ac74c2
commit 79af8f72b3

View File

@ -396,5 +396,5 @@ static driver_t gpio_spi_driver = {
DRIVER_MODULE(gpiospi, gpiobus, gpio_spi_driver, 0, 0); DRIVER_MODULE(gpiospi, gpiobus, gpio_spi_driver, 0, 0);
DRIVER_MODULE(spibus, gpiospi, spibus_driver, 0, 0); DRIVER_MODULE(spibus, gpiospi, spibus_driver, 0, 0);
MODULE_DEPEND(spi, gpiospi, 1, 1, 1); MODULE_DEPEND(gpiospi, spibus, 1, 1, 1);
MODULE_DEPEND(gpiobus, gpiospi, 1, 1, 1); MODULE_DEPEND(gpiospi, gpiobus, 1, 1, 1);