ide: push pc callback pointer into the ide_drive_t structure
commitd7c26ebb5bca284ece9db7311a9e180aabae1922
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 23 Jul 2008 17:55:59 +0000 (23 19:55 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:59 +0000 (23 19:55 +0200)
tree8a1b87c735863289d87b9d9a48191776de578468
parent4b5075050072ed7c4730ee547ae80117c4fa8513
ide: push pc callback pointer into the ide_drive_t structure

Refrain from carrying the callback ptr with every packet command since the
callback function is only one anyways. ide_drive_t is probably not the most
suitable place for it right now but is the more sane solution. Besides, these
structs are going to be reorganized anyways during the generic ide rewrite.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
include/linux/ide.h