]> err.no Git - linux-2.6/commit
cmd640: remove cmd_drives[]
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:33 +0000 (17:36 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:33 +0000 (17:36 +0200)
commit9523076ac9142cea5a6df29ba9091eb68a10f14d
tree7967663d93178e7939e065555b3acb06f5ce2aaa
parent4f7bada25098e076e83ffcd762e3079c19d40140
cmd640: remove cmd_drives[]

* Pass 'ide_drive_t *drive' to check_prefetch(), set_prefetch_mode(),
  program_drive_counts() and cmd640_set_mode().

* Remove no longer needed cmd_drives[].

* Inline setup_device_ptrs() helper in cmd640x_init().

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