diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-04-20 17:01:11 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-06 22:39:32 +0000 |
| commit | b58c5abf075fcbfc515a353113470374ffc95b6f (patch) | |
| tree | cd7a181f7c626a7032fb90024933267ce11072d1 /sys/dev/mmc/host | |
| parent | 9cd54db59d08d5452f51d993c85f2a470a9473fe (diff) | |
Diffstat (limited to 'sys/dev/mmc/host')
| -rw-r--r-- | sys/dev/mmc/host/dwmmc_altera.c | 8 | ||||
| -rw-r--r-- | sys/dev/mmc/host/dwmmc_hisi.c | 8 | ||||
| -rw-r--r-- | sys/dev/mmc/host/dwmmc_rockchip.c | 8 | ||||
| -rw-r--r-- | sys/dev/mmc/host/dwmmc_samsung.c | 8 |
4 files changed, 8 insertions, 24 deletions
diff --git a/sys/dev/mmc/host/dwmmc_altera.c b/sys/dev/mmc/host/dwmmc_altera.c index 54c227254ff4..636fa608399e 100644 --- a/sys/dev/mmc/host/dwmmc_altera.c +++ b/sys/dev/mmc/host/dwmmc_altera.c @@ -93,15 +93,11 @@ static device_method_t altera_dwmmc_methods[] = { DEVMETHOD_END }; -static devclass_t altera_dwmmc_devclass; - DEFINE_CLASS_1(altera_dwmmc, altera_dwmmc_driver, altera_dwmmc_methods, sizeof(struct dwmmc_softc), dwmmc_driver); -DRIVER_MODULE(altera_dwmmc, simplebus, altera_dwmmc_driver, - altera_dwmmc_devclass, 0, 0); -DRIVER_MODULE(altera_dwmmc, ofwbus, altera_dwmmc_driver, altera_dwmmc_devclass - , NULL, NULL); +DRIVER_MODULE(altera_dwmmc, simplebus, altera_dwmmc_driver, 0, 0); +DRIVER_MODULE(altera_dwmmc, ofwbus, altera_dwmmc_driver, NULL, NULL); #ifndef MMCCAM MMC_DECLARE_BRIDGE(altera_dwmmc); #endif diff --git a/sys/dev/mmc/host/dwmmc_hisi.c b/sys/dev/mmc/host/dwmmc_hisi.c index 5d6a95cfdd37..a4f3c177a83e 100644 --- a/sys/dev/mmc/host/dwmmc_hisi.c +++ b/sys/dev/mmc/host/dwmmc_hisi.c @@ -92,15 +92,11 @@ static device_method_t hisi_dwmmc_methods[] = { DEVMETHOD_END }; -static devclass_t hisi_dwmmc_devclass; - DEFINE_CLASS_1(hisi_dwmmc, hisi_dwmmc_driver, hisi_dwmmc_methods, sizeof(struct dwmmc_softc), dwmmc_driver); -DRIVER_MODULE(hisi_dwmmc, simplebus, hisi_dwmmc_driver, - hisi_dwmmc_devclass, 0, 0); -DRIVER_MODULE(hisi_dwmmc, ofwbus, hisi_dwmmc_driver, hisi_dwmmc_devclass - , NULL, NULL); +DRIVER_MODULE(hisi_dwmmc, simplebus, hisi_dwmmc_driver, 0, 0); +DRIVER_MODULE(hisi_dwmmc, ofwbus, hisi_dwmmc_driver, NULL, NULL); #ifndef MMCCAM MMC_DECLARE_BRIDGE(hisi_dwmmc); #endif diff --git a/sys/dev/mmc/host/dwmmc_rockchip.c b/sys/dev/mmc/host/dwmmc_rockchip.c index 44fbf720f908..ff02335068bd 100644 --- a/sys/dev/mmc/host/dwmmc_rockchip.c +++ b/sys/dev/mmc/host/dwmmc_rockchip.c @@ -133,15 +133,11 @@ static device_method_t rockchip_dwmmc_methods[] = { DEVMETHOD_END }; -static devclass_t rockchip_dwmmc_devclass; - DEFINE_CLASS_1(rockchip_dwmmc, rockchip_dwmmc_driver, rockchip_dwmmc_methods, sizeof(struct dwmmc_softc), dwmmc_driver); -DRIVER_MODULE(rockchip_dwmmc, simplebus, rockchip_dwmmc_driver, - rockchip_dwmmc_devclass, 0, 0); -DRIVER_MODULE(rockchip_dwmmc, ofwbus, rockchip_dwmmc_driver, - rockchip_dwmmc_devclass, NULL, NULL); +DRIVER_MODULE(rockchip_dwmmc, simplebus, rockchip_dwmmc_driver, 0, 0); +DRIVER_MODULE(rockchip_dwmmc, ofwbus, rockchip_dwmmc_driver, NULL, NULL); #ifndef MMCCAM MMC_DECLARE_BRIDGE(rockchip_dwmmc); #endif diff --git a/sys/dev/mmc/host/dwmmc_samsung.c b/sys/dev/mmc/host/dwmmc_samsung.c index 4443cda58736..6d8bbd96a220 100644 --- a/sys/dev/mmc/host/dwmmc_samsung.c +++ b/sys/dev/mmc/host/dwmmc_samsung.c @@ -120,15 +120,11 @@ static device_method_t samsung_dwmmc_methods[] = { DEVMETHOD_END }; -static devclass_t samsung_dwmmc_devclass; - DEFINE_CLASS_1(samsung_dwmmc, samsung_dwmmc_driver, samsung_dwmmc_methods, sizeof(struct dwmmc_softc), dwmmc_driver); -DRIVER_MODULE(samsung_dwmmc, simplebus, samsung_dwmmc_driver, - samsung_dwmmc_devclass, 0, 0); -DRIVER_MODULE(samsung_dwmmc, ofwbus, samsung_dwmmc_driver, samsung_dwmmc_devclass - , NULL, NULL); +DRIVER_MODULE(samsung_dwmmc, simplebus, samsung_dwmmc_driver, 0, 0); +DRIVER_MODULE(samsung_dwmmc, ofwbus, samsung_dwmmc_driver, NULL, NULL); #ifndef MMCCAM MMC_DECLARE_BRIDGE(samsung_dwmmc); #endif |
