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:
parent
c953c6ed19
commit
7f460e50ab
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user