]> git.baikalelectronics.ru Git - kernel.git/commit
ide: push pc callback pointer into the ide_drive_t structure
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 23 Jul 2008 17:55:59 +0000 (19:55 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:59 +0000 (19:55 +0200)
commitddb3dc4a48a020ac5fcb56a2f6dcc46d8c5fb69a
tree8a1b87c735863289d87b9d9a48191776de578468
parent080c0cb08454497300ee7157a409a3a1fec556ed
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