TEGRA: Don't use common name 'iicb' for tegra specific IIC driver.

Using commn name for different drivers breaks generic kernel creation.
This commit is contained in:
Michal Meloun 2016-05-15 15:14:46 +00:00
parent c953c6ed19
commit 7f460e50ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299856

View File

@ -800,5 +800,9 @@ static device_method_t tegra_i2c_methods[] = {
DEFINE_CLASS_0(iichb, tegra_i2c_driver, tegra_i2c_methods,
sizeof(struct tegra_i2c_softc));
static devclass_t tegra_i2c_devclass;
EARLY_DRIVER_MODULE(iichb, simplebus, tegra_i2c_driver, tegra_i2c_devclass, 0,
0, 73);
EARLY_DRIVER_MODULE(tegra_iic, simplebus, tegra_i2c_driver, tegra_i2c_devclass,
0, 0, 73);
extern devclass_t ofwiicbus_devclass;
extern driver_t ofw_iicbus_driver;
EARLY_DRIVER_MODULE(ofw_iicbus, tegra_iic, ofw_iicbus_driver,
ofwiicbus_devclass, 0, 0, BUS_PASS_BUS);