]> git.baikalelectronics.ru Git - kernel.git/commit
xsysace: make it 'struct hd_driveid'-free
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 1 Apr 2009 19:42:22 +0000 (21:42 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 1 Apr 2009 19:42:22 +0000 (21:42 +0200)
commit9919d3a0e50c6edc4da6a698b899d3801bef3d38
tree2825245ceb1eaf5c62c9e68282751fb2d9881df2
parent070d8c7b4a6941c90ee9be4d802ff3ef9b9a7341
xsysace: make it 'struct hd_driveid'-free

* Change cf_id field in struct ace_device from 'struct hd_driveid *id'
  to 'u16 *id' and update driver accordingly.

* Include <linux/ata.h> directly instead of through <linux/hdreg.h>.

While at it:

* Use ata_id_u32() macro.

There should be no functional changes caused by this patch.

Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/block/xsysace.c