]> git.baikalelectronics.ru Git - kernel.git/commit
ide: add ide_legacy_init_one() helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 20:25:18 +0000 (22:25 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 20:25:18 +0000 (22:25 +0200)
commit32a50ab136d539a6eaaf98558c1867017e3f9bc7
tree242d4c8cb9b8232ff5b707afc656debce5b985d7
parenta1242a4472dd28d5b4883d37a6d298d13cf43ebe
ide: add ide_legacy_init_one() helper

Move the common code for primary/seconary port setup from
ide_legacy_device_add() to ide_legacy_init_one().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c