9
0
Fork 0

i2c: tegra: move to fs initcall

i2c is needed to enable voltage rails that are later
needed by other drivers.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Lucas Stach 2014-10-04 19:40:18 +02:00 committed by Sascha Hauer
parent 72f493e3e6
commit 4e4d40c1ae
2 changed files with 2 additions and 2 deletions

View File

@ -35,4 +35,4 @@ static int nvidia_beaver_devices_init(void)
return 0;
}
device_initcall(nvidia_beaver_devices_init);
fs_initcall(nvidia_beaver_devices_init);

View File

@ -696,4 +696,4 @@ static struct driver_d tegra_i2c_driver = {
.probe = tegra_i2c_probe,
.of_compatible = DRV_OF_COMPAT(tegra_i2c_compatible),
};
device_platform_driver(tegra_i2c_driver);
register_driver_macro(fs, platform, tegra_i2c_driver);