Restore original (pre r315760) naming for Tegra SDHCI device.
Newbus handles multiple equally named device classes without problems, so there is no reason to use slightly cryptic "<foo>_shdci" for them. In contrast, the driver module name must be unique, so "<foo>_shdci" is the right name for it.
This commit is contained in:
parent
12561ddddc
commit
693f8b3673
@ -459,9 +459,9 @@ static device_method_t tegra_sdhci_methods[] = {
|
||||
};
|
||||
|
||||
static devclass_t tegra_sdhci_devclass;
|
||||
static DEFINE_CLASS_0(sdhci_tegra, tegra_sdhci_driver, tegra_sdhci_methods,
|
||||
static DEFINE_CLASS_0(sdhci, tegra_sdhci_driver, tegra_sdhci_methods,
|
||||
sizeof(struct tegra_sdhci_softc));
|
||||
DRIVER_MODULE(sdhci_tegra, simplebus, tegra_sdhci_driver, tegra_sdhci_devclass,
|
||||
NULL, NULL);
|
||||
MODULE_DEPEND(sdhci_tegra, sdhci, 1, 1, 1);
|
||||
MMC_DECLARE_BRIDGE(sdhci_tegra);
|
||||
MMC_DECLARE_BRIDGE(sdhci);
|
||||
|
Loading…
x
Reference in New Issue
Block a user