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:
Michal Meloun 2017-03-23 08:16:53 +00:00
parent 12561ddddc
commit 693f8b3673
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315845

View File

@ -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);