728x90
반응형
In the Vim editor use for replace string in some area.
For examples, replace `arndale` to `foobar` follow code. :)
488 i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0));
489 i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));
490
491 exynos_tmu_set_platdata(&arndale_tmu_pdata);
492
493 arndale_udc_init();
494 exynos5_arndale_ehci_init();
495 exynos5_arndale_ohci_init();
496
497 platform_add_devices(arndale_devices, ARRAY_SIZE(arndale_devices));
498
499 exynos5_arndale_power_init();
Line 491 to 499 included string `arndale`.
Use following command.
:491,499s/arndale/foobar/g
488 i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0));
489 i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));
490
491 exynos_tmu_set_platdata(&foobar_tmu_pdata);
492
493 foobar_udc_init();
494 exynos5_foobar_ehci_init();
495 exynos5_foobar_ohci_init();
496
497 platform_add_devices(foobar_devices, ARRAY_SIZE(foobar_devices));
498
499 exynos5_foobar_power_init();
500 }
Quite simple.! :)
728x90
반응형
댓글