From ecd616333853888f75b5076cc66102c4625c91c9 Mon Sep 17 00:00:00 2001 From: Oleksandr Tymoshenko Date: Wed, 13 May 2009 18:42:49 +0000 Subject: [PATCH] - Make SPI bus bridge be non-arch dependent by using more generic name Reviewed by: imp --- sys/arm/at91/at91_spi.c | 2 +- sys/dev/spibus/spibus.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/at91/at91_spi.c b/sys/arm/at91/at91_spi.c index 53c33807ee5f..2252f00c8d25 100644 --- a/sys/arm/at91/at91_spi.c +++ b/sys/arm/at91/at91_spi.c @@ -297,7 +297,7 @@ static device_method_t at91_spi_methods[] = { }; static driver_t at91_spi_driver = { - "at91_spi", + "spi", at91_spi_methods, sizeof(struct at91_spi_softc), }; diff --git a/sys/dev/spibus/spibus.c b/sys/dev/spibus/spibus.c index 76b4a8cc3c72..33205ea64f1d 100644 --- a/sys/dev/spibus/spibus.c +++ b/sys/dev/spibus/spibus.c @@ -194,5 +194,5 @@ static driver_t spibus_driver = { devclass_t spibus_devclass; -DRIVER_MODULE(spibus, at91_spi, spibus_driver, spibus_devclass, 0, 0); +DRIVER_MODULE(spibus, spi, spibus_driver, spibus_devclass, 0, 0); MODULE_VERSION(spibus, 1);