android_kernel_xiaomi_sdm845/drivers/ide/arm
Bartlomiej Zolnierkiewicz f82c2b1719 ide: add 'init_default' and 'restore' arguments to ide_unregister()
* Add 'init_default' (flag for calling init_hwif_default()) and 'restore'
  (flag for calling ide_hwif_restore()) arguments to ide_unregister().

* Update ide_unregister() users to set 'init_default' and 'restore' flags.

* No need to set 'init_default' flag in ide_register_hw() if the setup done
  by init_hwif_default() is going to be overridden by ide_init_port_hw().

* No need to set 'init_default' and 'restore' flags in cleanup_module().

There should be no functionality changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-02 19:56:39 +01:00
..
bast-ide.c ide: delete filenames/versions from comments 2008-02-01 23:09:33 +01:00
icside.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
ide_arm.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
Makefile ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
rapide.c ide: add 'init_default' and 'restore' arguments to ide_unregister() 2008-02-02 19:56:39 +01:00